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

前端页面二次开发疑问 #49

Open
xueerhuan opened this issue Nov 22, 2018 · 1 comment
Open

前端页面二次开发疑问 #49

xueerhuan opened this issue Nov 22, 2018 · 1 comment

Comments

@xueerhuan
Copy link

请问一下,static文件夹下的index引用的是prd下的文件,我通过ykit pack -m打包了新文件,并且修改了assets.js 引用的文件均为新打包生成的文件
window.WEBPACK_ASSETS = {"index.js":{"js":"[email protected]","css":"[email protected]"},"lib":{"js":"[email protected]"},"lib2":{"js":"[email protected]"},"lib3":{"js":"[email protected]"},"manifest":{"js":"[email protected]"}}

但是启动yapi服务器后,进入首页,页面无法正常显示样式,请问这个过程需要怎么修改才能显示修改后的前端页面呢?

@ariesly15
Copy link
Member

请问一下,static文件夹下的index引用的是prd下的文件,我通过ykit pack -m打包了新文件,并且修改了assets.js 引用的文件均为新打包生成的文件
window.WEBPACK_ASSETS = {"index.js":{"js":"[email protected]","css":"[email protected]"},"lib":{"js":"[email protected]"},"lib2":{"js":"[email protected]"},"lib3":{"js":"[email protected]"},"manifest":{"js":"[email protected]"}}

但是启动yapi服务器后,进入首页,页面无法正常显示样式,请问这个过程需要怎么修改才能显示修改后的前端页面呢?

去 yapi 的issues中问问

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

2 participants