Add support for Vue projects using Nuxt

This adds detection for projects using Nuxt: https://nuxtjs.org/
This commit is contained in:
Marshall Thompson 2017-09-04 09:30:44 -06:00 committed by GitHub
parent bcb232b74f
commit b0b2d06d6a

View File

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