-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Failed to load resource: the server responded with a status of 404 (Not Found) 开发环境是正常的,打包后浏览器打开出问题 #1140
Comments
在src文件夹添加 app.js文件 import { message } from 'antd' export const dva = { 使用 live-server ./dist , |
bioinformatica
changed the title
为什么我打包之后部署,打开浏览器一直loading
Failed to load resource: the server responded with a status of 404 (Not Found) 开发环境是正常的,打包后浏览器打开出问题
Nov 1, 2022
和#1064 (comment) 相同的界面 404 |
打开浏览器调试,可以看到静态文件走了一个域名
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
umirc.js
publicPath: '/',
history: {
type: 'hash',
},
The text was updated successfully, but these errors were encountered: