Skip to content

Commit

Permalink
fix(site-parser): inject url
Browse files Browse the repository at this point in the history
  • Loading branch information
puppet-666 committed Mar 19, 2023
1 parent 2b83fcf commit 5db8652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pizza-site-parser/src/plugins/live-injections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function PLiveInjectionsPlugin(options: IInjectOptions = {}): PluginOptio
imports: {
// TODO: 动态获取 vue 版本; 处理 pizza-ui
'vue': 'https://unpkg.com/@vue/[email protected]/dist/runtime-dom.esm-browser.js',
'pizza-ui/': env === 'development' ? 'http://localhost:5173/pizza-ui' : 'https://sword-x-shield.github.io/pizza-ui/pizza-ui',
'pizza-ui/': env === 'development' ? 'http://localhost:5173/pizza-ui' : 'https://sword-x-shield.github.io/pizza-ui/pizza-ui/',
},
},
};
Expand Down

0 comments on commit 5db8652

Please sign in to comment.