-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b83fcf
commit 5db8652
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/', | ||
}, | ||
}, | ||
}; | ||
|