Closed clarkdo closed 5 years ago
I really like this idea, making Nuxt easier to configure while keeping known best practices (.gitignore
, etc).
Also, it could be combined with glob-gitignore :)
Probably out of the scope for this RFC but having away to ignore pages from being generated (but still available via SPA fallback) would be lovely.
maybe with a .nuxtignore
w/ a different name?
@manniL maybe for pages stop from being generated we need another RFC :) And there could be usefull that users can define which pages generated dynamically via code,, that would be useful for usecases when there a lot of static page and only some of then need to be regenerated
@aldarund already went for it in https://github.com/nuxt/nuxt.js/pull/4754 :relaxed:
Incremental build is another topic, right
https://github.com/nuxt/nuxt.js/pull/4647
Merged. Will target v2.5
Proposal
.nuxtignore
for ignoring pages, tests and store modules.Usage
Specifies intentionally untracked files to ignore in Nuxt
Pre requirement (idea from @pi0 )
Pull Request: https://github.com/nuxt/nuxt.js/pull/4647