Grenudi Idunerg
Grenudi Idunerg

Reputation: 69

How to create multiple page app with vue-cli(webpack) (with different router for each one, and different dist/index.html)

How can I accomplish this without using browser cache ?

Upvotes: 3

Views: 7874

Answers (2)

mono68
mono68

Reputation: 2090

Multi-Page apps are now supported very well with vue-cli v3: https://cli.vuejs.org/guide/html-and-static-assets.html#building-a-multi-page-app

Upvotes: 2

Grenudi Idunerg
Grenudi Idunerg

Reputation: 69

Found the solution for me. Unfortunately not a build in one. I just ran build process for two different builds with two different webpack configs which in their turn have different entry and output properties. Just in case someones find this helpful.

Upvotes: 1

Related Questions