-
Notifications
You must be signed in to change notification settings - Fork 7
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
keep dynamic values in rendered template #11
Comments
Thank you for your message. |
Isn't this the output you are expecting?
If not, could you please describe the output you are expecting? |
I tried a bit and the problem was, that i had set a title property in my HtmlWebpackPlugin options, so it made a replace. I'm trying now to seperate my pug files in one layout and some template files like:
the result is: webpack does not combine those files, so in the output folder there are only the templatefiles with the same content (without layout & chunks etc) |
Thank you for your response. |
Sorry for the late reply. I thought about a solution, but it is difficult to handle 'extends' with this plugin. It may work well if there is a loader that only solves 'extends'. If all files (a.pug, b.pug & c.pug) use the same js file, insert it in layout.pug and solving 'extends' with 'express' etc, It may work well. I am sorry that I can not solve your problem. |
is there a possibility to keep the variables (rendered on time by e.g. express)?
I need this layout where
language
andtitle
should be dynamic valuesThe text was updated successfully, but these errors were encountered: