Hello,
when i launch in production (by not modifying anything) with npm run build:prod --preview, i have the error unexpected token < at http://localhost:9526/.

I did the "npm install" command at first.
I don't see how we can fix that.
Thanks for your help.
我还以为只有我是这样
The reason for this bug is this caused assetsPublicPath
You can temporarily set assetsPublicPath:'/'to a to solve this problem.
I will solve this problem gracefully as soon as possible.
Fixed in https://github.com/PanJiaChen/vue-element-admin/commit/e4481a9d3493fffafc8fa30e314abbae897ce6b7
Most helpful comment
The reason for this bug is this caused
assetsPublicPathhttps://github.com/PanJiaChen/vue-element-admin/blob/572a2d9c34688e277ac0ed7c1d713060a7c8b1d4/config/index.js#L69
You can temporarily set
assetsPublicPath:'/'to a to solve this problem.I will solve this problem gracefully as soon as possible.