File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ import UnoCSS from '../../packages-integrations/vite/src/index'
77export default defineConfig ( {
88 plugins : [
99 Vue ( ) ,
10- UnoCSS ( ) ,
10+ UnoCSS ( {
11+ virtualModulePrefix : 'custom_vue3' ,
12+ } ) as any ,
1113 // legacy(),
1214 ] ,
1315} )
Original file line number Diff line number Diff line change @@ -688,12 +688,20 @@ export interface UserOnlyOptions<Theme extends object = object> {
688688 * @default 'build'
689689 */
690690 envMode ?: 'dev' | 'build'
691+
691692 /**
692693 * legacy.renderModernChunks need to be consistent with @vitejs/plugin-legacy
693694 */
694695 legacy ?: {
695696 renderModernChunks : boolean
696697 }
698+
699+ /**
700+ * Custom prefix for virtual modules
701+ *
702+ * @default '__uno'
703+ */
704+ virtualModulePrefix ?: string
697705}
698706
699707/**
You can’t perform that action at this time.
0 commit comments