Comments (3)
第一个问题是打包后es6支持有问题,你可以看一下它提示的那个文件。
第二个问题是因为127.0.0.1:3000是后台服务端,本身没有页面,它只是处理前台发回去的数据并返回结果给前台而已,在server.js中有写
from vue-login.
@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.
@killerlei 请问你第一个问题是怎么解决的
from vue-login.
Related Issues (12)
- npm run dev 错误
- 打包独立模块的疑问
- run dev 出错 运行server.js 时显示与mongodb连接成功 HOT 2
- 可以请教你一个技术问题吗,就是开发时当页面刷新时状态丢失了怎么办呀
- DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0 HOT 1
- from localhost:8080 to http://localhost:3000 (ECONNREFUSED)
- 编译失败
- 运行不起来 HOT 1
- 运行报错 HOT 1
- 运行不起来,是什么原因咧?同2楼 HOT 1
- node server.js报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-login.