Skip to content
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

how use this generator to render "dynamic" routes? #11

Open
danielmorena opened this issue Nov 2, 2021 · 0 comments
Open

how use this generator to render "dynamic" routes? #11

danielmorena opened this issue Nov 2, 2021 · 0 comments

Comments

@danielmorena
Copy link

I mean, as far as i understand the webpack config file, it will only render the pages defined in pages array in pug loader, with no locals definition.
I want to figure ​how to:
1 – Automate the render of multiples pages using the same pug templates with different locals, from json files
2 – Render that pages inside folders, creating a structure suitable to "clean" urls with the right .htacess or equivalent in nginx
3 – Render the css inlined in that pug files to improve lighthouse score

And thanks for this excellent tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant