user pages but got an error info?t= 404 not found and I fix it
See original GitHub issueVersion
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
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
404 Page Not Found Error: What It Is and How to Fix It - Lifewire
A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be...
Read more >How to Fix Error 404 Not Found on Your WordPress Site - Kinsta
The Error 404 Not Found status code indicates that the origin server did not find the target resource. Check out these common causes...
Read more >How To Find & Fix 404 Errors On Your Website | Matthew Edgar
The first step to fixing a 404 error is finding the 404 not-found error. Once found, you can begin fixing the 404 not-found...
Read more >Error 404 not found - What does it mean & how to fix it! - IONOS
The solution is easy - an HTTP 404 error page appears when a web page can't be found. See why this happens and...
Read more >How to Find and Fix 404 Errors - Neil Patel
Redirect the 404 error: Redirecting users to another relevant page is the easiest way to fix 404 errors on your site. · Restore...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh. Then our docs are out of sync 😛
@LinusBorg Yes it has: https://github.com/vuejs/vue-cli/commit/869f00513e14011bb07d830b27a1eef87daa2230