GithubHelp home page GithubHelp logo

Comments (6)

radicalviva avatar radicalviva commented on June 17, 2024

这个报错 看上去是 eslint 的,你根据 它提示 修改下 js 就可以了

from vue-cli-multipage.

MichelleMM avatar MichelleMM commented on June 17, 2024

确实是eslint报的错,现在不报错了,但新添加的login文件夹还是不能访问,依然提示Cannot GET /module/login.html
代码如下:
image
image

from vue-cli-multipage.

radicalviva avatar radicalviva commented on June 17, 2024

@MichelleMM 这应该不会啊。。 它是以module/*/*.html为模板

from vue-cli-multipage.

MichelleMM avatar MichelleMM commented on June 17, 2024

确实会这样,这是文件目录
image
里面的代码就是我上面贴出来的,编译时也没有login文件夹的相关信息:
image

from vue-cli-multipage.

radicalviva avatar radicalviva commented on June 17, 2024

和你的命名有关系 已经有了 index.html 了,需要修改下名字,按合理性来说,最好还是要修改下config.js

from vue-cli-multipage.

MichelleMM avatar MichelleMM commented on June 17, 2024

我大概明白你的意思了,感谢!修改login文件夹里面的文件名称后确实可以正常访问了

from vue-cli-multipage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.