Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
feat: respect vite base path option (#263)
Browse files Browse the repository at this point in the history
* fix(node): support vite base path

* chore: fix typo
  • Loading branch information
euaaaio authored Dec 5, 2023
1 parent a1412f2 commit 7b48efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function VitePluginVueDevTools(options?: VitePluginVueDevToolsOpt
injectTo: 'head',
attrs: {
type: 'module',
src: '/@id/virtual:vue-devtools-path:app.js',
src: `${config.base || '/'}@id/virtual:vue-devtools-path:app.js`,
},
},
// inject inspector script manually to ensure it's loaded after vue-devtools
Expand All @@ -184,7 +184,7 @@ export default function VitePluginVueDevTools(options?: VitePluginVueDevToolsOpt
injectTo: 'head',
attrs: {
type: 'module',
src: '/@id/virtual:vue-inspector-path:load.js',
src: `${config.base || '/'}@id/virtual:vue-inspector-path:load.js`,
},
},
],
Expand Down

0 comments on commit 7b48efe

Please sign in to comment.