mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 15:11:10 +08:00
Add support for Vue projects using Nuxt
This adds detection for projects using Nuxt: https://nuxtjs.org/
This commit is contained in:
parent
bcb232b74f
commit
b0b2d06d6a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user