Skip to content

Commit

Permalink
fix(nvue): 增加 publicPath: '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Feb 1, 2024
1 parent 9bae4d1 commit b2f341c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue-cli-plugin-hbuilderx/build/webpack.nvue.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ module.exports = function () {
}),
output: {
path: process.env.UNI_OUTPUT_DIR,
filename: '[name].js'
filename: '[name].js',
publicPath: '/'
},
resolve: {
extensions: ['.ts', '.js', '.nvue', '.vue', '.json'],
Expand Down

0 comments on commit b2f341c

Please sign in to comment.