Skip to content

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

@danielmorena

Description

@danielmorena

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions