Storybook: Tell @nuxt/component to ignore `.stories.js`

Created on 30 Jul 2020  路  3Comments  路  Source: nuxt-community/storybook

When using components: true, it includes the *.stories.js:

Screenshot_2020-07-30_at_15 18 59

I updated the documentation to add in .nuxtignore: https://storybook.nuxtjs.org/setup

I guess it can be improved from a Nuxt POV (see with @pi0 )

bug enhancement

Most helpful comment

nuxt 2 is feature freeze but we can add via compoents module 馃槉

All 3 comments

What about adding **/*.stories.* in Nuxt ignore?

https://github.com/nuxt/nuxt.js/blob/dev/packages/config/src/config/_common.js#L66-L69

nuxt 2 is feature freeze but we can add via compoents module 馃槉

Agree, a PR to nuxt/components could do the trick :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

altryne picture altryne  路  3Comments

dankellett picture dankellett  路  3Comments

seancolsen picture seancolsen  路  4Comments

debs-obrien picture debs-obrien  路  5Comments

productfrontenddeveloper picture productfrontenddeveloper  路  7Comments