-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor concerns (including build/routes) into Nuxt modules #33
Comments
Maybe all of the concerns and merge boilerplate stuff becomes a Nuxt module... |
One advantage of this is that it means that some properties, like |
I think I should rewrite them all in vanilla JS because I think this is a nice API: # nuxt.config.coffee
export default
buildModules: [
'@bkwld/cloak/modules/routing'
'@bkwld/cloak/modules/ssg'
# ...
] If I have a transpile step, I think they would all have to be in a dist directory. Unless I do like /modules/src/routing that compiles out to it's parent ... but, yeah, eh. -- I also think the build file generate.routes config should be it's own separate, CMS-specific module. Like |
Capturing misc implementation notes:
|
I think this behavior could be added by a Nuxt module rather than a standalone file. This may fix some of my ESM type issues. Ha or could complicate them ... but it does seem more Nuxt-y.
The text was updated successfully, but these errors were encountered: