Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于YAPI启动开发环境和测试环境的区别疑问 #50

Open
xueerhuan opened this issue Nov 22, 2018 · 2 comments
Open

关于YAPI启动开发环境和测试环境的区别疑问 #50

xueerhuan opened this issue Nov 22, 2018 · 2 comments

Comments

@xueerhuan
Copy link

npm run star 和npm run dev 的具体区别是什么,只是入口文件分别是index.html 和dev.html的区别么,他们在代码结构上有什么区别么?为什么我把client里的所有文件都删除了 ,npm run star和npm run dev 还是可以正常运行,并且代码入口都是app.js

@ariesly15
Copy link
Member

npm run star 和npm run dev 的具体区别是什么,只是入口文件分别是index.html 和dev.html的区别么,他们在代码结构上有什么区别么?为什么我把client里的所有文件都删除了 ,npm run star和npm run dev 还是可以正常运行,并且代码入口都是app.js

可以去 yapi 的issues中问一下

@yuantianlin
Copy link

因为已经打包过了,start接口默认访问的是static下面的index.html,js文件会映射到prd上,dev访问的是index.html,这个应该是ykit提供了一个4000的端口,访问的是什么文件没弄清楚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants