I was following this post: multiple pages in Vue.js CLI
I'm happy to have multiple pages now... But, how can I access it ? From the URL : http://localhost:8080/, I can set everything I want at the end, but it keep showing me the same page.
Here is my vue.config.js :
module.exports = {
lintOnSave: false,
pages: {
index: {
entry: './src/pages/Index.js',
template: './public/index.html',
filename: 'index.html',
title: 'Accueil',
chunks: [
'chunk-vendors',
'chunk-common',
'index'
]
},
test: {
entry: './src/pages/Test.js',
template: './public/index.html',
filename: 'index.html',
title: 'Test Page',
chunks: [
'chunk-vendors',
'chunk-common',
'index'
]
}
}
};
I reloaded the server, there is no error, everything looks fine. I think I just missed something somewhere.