Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Any way to have two entry points? #53

Open
lackneets opened this issue Dec 7, 2019 · 1 comment
Open

Any way to have two entry points? #53

lackneets opened this issue Dec 7, 2019 · 1 comment

Comments

@lackneets
Copy link

lackneets commented Dec 7, 2019

Hi,
As I know, vuetober is designed to setup a Single application, with only one index.htm delivered.
However it's hard to migrate my old website pages into new structure in short time.
If there is any way that I could make multiple pages with many entry point?

/ index.htm <- old static homepage
/products/:id products.htm
/users/:id users.html
/app1/:all?* app1.htm <- new
/app2/:all?* app2.htm <- new

Any advices will be appreciated

@scottbedard
Copy link
Owner

scottbedard commented Dec 9, 2019

Hi, at the moment there is not a way to have multiple entry points, but that would be a great feature! It could make Vuetober themes incrementally adoptable, rather than being all or nothing.

The bulk of our configuration magic happens with html-webpack-plugin, and writing the .htm files to disk. If we expanded upon this to look for all .htm files in a particular directory, I don't see any reason why we couldn't support multiple entry points. We could even have a directory set aside for "regular" October views, and just copy it into the appropriate output directory as part of the build process.

My time is pretty limited at the moment, but I'd love to see any experiments done with this!

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

2 participants