Skip to content

Instantly share code, notes, and snippets.

@giggo1604
giggo1604 / vue.config.js
Created July 11, 2018 07:50
vue-cli 3.0 multi-page config with historyApiFallback
module.exports = {
pages: {
foo: {
entry: 'src/foo/main.js',
template: 'public/index.foo.html',
filename: 'index.foo.html'
},
bar: {
entry: 'src/bar/main.js',
template: 'public/index.bar.html',