Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Multipage support #17

Open
york-xtrem opened this issue Jul 24, 2017 · 2 comments
Open

Multipage support #17

york-xtrem opened this issue Jul 24, 2017 · 2 comments

Comments

@york-xtrem
Copy link

I'm learning Marko, I come from Pug and NunJucks. But I do not get a multipage output configuration.

It's possible?

And it would be great if I could inject the dependencies css and javascript as does html-webpack-plugin but for each page.

Thanks,
Nice work!

@jasonmacdonald
Copy link

Marko is only a loader, both of the things you mention are handled by Webpack and work just like any other webpack build. You can use html-webpack-plugin and you can do multi-page entries. :)

@tigt
Copy link

tigt commented Aug 11, 2019

I asked this same question and it looks like you can get multipage support by configuring your project like the Marko+Webpack sample repo, with each page inside the /pages/ folder.

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

No branches or pull requests

3 participants