-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user pages but got an error info?t= 404 not found and I fix it #1403
Comments
the fixed method is |
the ref url is : webpack/webpack-dev-server#704 (comment) |
vue-cli 3 doesn'thave a |
@LinusBorg Yes it has: 869f005 |
Oh. Then our docs are out of sync :-P |
@LinusBorg I read the code and find the multipages-app support hah |
@Akryum you can modify the code and it's working fine |
This is fixed by #1405 |
Version
3.0.0-beta.13
Reproduction link
https://github.com/CXY037/vue-cli-pages-bug
Steps to reproduce
vue.config.js 's pages
const pages = {}
glob.sync('./src/pages/**/app.js').forEach(path => {
const chunk = path.split('./src/pages/')[1].split('/app.js')[0]
const page = {}
page.entry = path
page.template = resolve(path.replace(/app.js/g, 'app.html'))
// page.filename =
${chunk}.html
pages[chunk] = page
})
What is expected?
pages normal
What is actually happening?
dub dir page got
http://localhost:8081/sockjs-node/info?t=1527653005031
404 not found
The text was updated successfully, but these errors were encountered: