colbyfayock / html-webpack-partials-plugin

🛠 Easy HTML partials for Webpack without a custom index!
MIT License
68 stars 20 forks source link

how to setup for multi page app #10

Closed rajanmagar closed 4 years ago

rajanmagar commented 4 years ago

That was awesome example but please describe for multi page app.

colbyfayock commented 4 years ago

@rajanmagar can you describe a little more in detail what you're hoping to figure out how to do?

rajanmagar commented 4 years ago

@colbyfayock I want to implement google tag manager script for other pages too. This example is only for one page.

colbyfayock commented 4 years ago

did you try out this example? https://github.com/colbyfayock/html-webpack-partials-plugin/tree/master/examples/basic-multi

should be able to utilize the same partial files for the multi-page approach like you see there. if that's not working you can share a repo giving an example of what's not working and I can debug

colbyfayock commented 4 years ago

gonna close this out, feel free to reopen if you found an issue :)