-
Notifications
You must be signed in to change notification settings - Fork 526
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
build版本问题 #15
Comments
有谁解决了 npm run build 打开无效的问题吗 |
一样的问题,run build产生的dist目录下的index.html和static文件夹,无论本地访问还是放到服务器页面只有一个背景色,js未被执行 run dev正常。希望尽早解决这个问题,http://demo.vuethink.com这个demo是如何运行的,请告知 |
我给VueThink的php单独配了个域名,如下: main.js的axios.defaults.baseURL和window.HOST都改为‘http://php.vt.com/’, |
把 /src/main.js 里的 mode: 'history', 这行代码注释掉就好了 |
下载zip后, yarn insatll安装。
然后运行 npm run build.
然后将dist目录下的 index.html 和 static文件夹 放到tomcat或apache服务器目录下。
访问程序,界面无内容。
npm run dev 开发版正常
The text was updated successfully, but these errors were encountered: