Skip to content

user pages but got an error info?t= 404 not found and I fix it #1403

Closed
@CXY037

Description

@CXY037

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions