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
Pages folder for nothing? #21
Comments
As you can see here , pages registered manually. import.js and router.js. And I like the idea. If there are pages in defferent modules, we need create deep nesting to create needed url pages/store/product/:id
Folder into folder multiple times. And it's not cool, as for me |
I'm not sure if I understand the question completely, but I will try to answer. By dividing the project into modules we can have many different routings for a module. The As for the structure of the |
Manual overwrite of routes is fine, but i would still like default automatic creation. As these two examples are interchangeable as far as generating is concerned: (original nuxt)
(vuems)
I am now playing with my own fork of https://github.com/ktsn/vue-route-generator to make exatly this possible, and so far haven't found a blocking issue. But maybe it is possible and I just can't read your documentation right 😀. Please advise. |
So, is there a purpose for pages folder now? Besides separation of course.
My point being: is there a way to setup automatic creation by nuxt into modules pages? Or is it something possible and will be made in future?
The text was updated successfully, but these errors were encountered: