Git Product home page Git Product logo

Comments (3)

ykloveyxk avatar ykloveyxk commented on August 19, 2024

第一个问题是打包后es6支持有问题,你可以看一下它提示的那个文件。

第二个问题是因为127.0.0.1:3000是后台服务端,本身没有页面,它只是处理前台发回去的数据并返回结果给前台而已,在server.js中有写

from vue-login.

killerlei avatar killerlei commented on August 19, 2024

@ykloveyxk
不好意思
第二个问题还是不明白
启动服务后 我怎么在浏览器访问到页面?
http://127.0.0.1:3000/不是默认访问到index.html吗
另外路由接口如下
module.exports = (router) => {
router.post('/register', Register),
router.post('/login', Login),
router.get('/user', checkToken, User),
router.post('/delUser', checkToken, delUser)
}
访问http://127.0.0.1:3000/user也没界面
不是太懂 麻烦了

from vue-login.

yoga1314 avatar yoga1314 commented on August 19, 2024

@killerlei 请问你第一个问题是怎么解决的

from vue-login.

Related Issues (12)

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.