Add support for using Nuxt in dependensies

This commit is contained in:
Yusuke Kato 2017-10-16 00:56:08 +09:00
parent e690d74565
commit 89702a813f

View File

@ -40,6 +40,7 @@ module.exports = function detect(options) {
if (
(packageJson.dependencies && packageJson.dependencies.vue) ||
(packageJson.devDependencies && packageJson.devDependencies.vue) ||
(packageJson.dependencies && packageJson.dependencies.nuxt) ||
(packageJson.devDependencies && packageJson.devDependencies.nuxt)
) {
return types.VUE;