File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ watch(autoSave, setAutoSaveState)
7373 <div v-if =" !loading" antialiased >
7474 <Header :store =" store" @refresh =" refreshPreview" />
7575 <Repl
76- v-model =" autoSave"
7776 ref =" replRef"
77+ v-model =" autoSave"
7878 :theme =" dark ? 'dark' : 'light'"
7979 :preview-theme =" true"
8080 :store =" store"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ declare module 'vue' {
1010 ElCheckbox : typeof import ( 'element-plus/es' ) [ 'ElCheckbox' ]
1111 ElForm : typeof import ( 'element-plus/es' ) [ 'ElForm' ]
1212 ElFormItem : typeof import ( 'element-plus/es' ) [ 'ElFormItem' ]
13+ ElLink : typeof import ( 'element-plus/es' ) [ 'ElLink' ]
1314 ElOption : typeof import ( 'element-plus/es' ) [ 'ElOption' ]
1415 ElPopover : typeof import ( 'element-plus/es' ) [ 'ElPopover' ]
1516 ElSelect : typeof import ( 'element-plus/es' ) [ 'ElSelect' ]
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const useStore = (initial: Initial) => {
5555 const userOptions : UserOptions = pr
5656 ? {
5757 showHidden : true ,
58- styleSource : `https://preview-${ pr } -element-plus.surge.sh/bundle/dist/ index.css` ,
58+ styleSource : `https://preview-${ pr } -element-plus.surge.sh/bundle/index.css` ,
5959 }
6060 : { }
6161 const hideFile = ! IS_DEV && ! userOptions . showHidden
@@ -66,7 +66,7 @@ export const useStore = (initial: Initial) => {
6666 if ( pr )
6767 importMap = mergeImportMap ( importMap , {
6868 imports : {
69- 'element-plus' : `https://preview-${ pr } -element-plus.surge.sh/bundle/dist/ index.full.min.mjs` ,
69+ 'element-plus' : `https://preview-${ pr } -element-plus.surge.sh/bundle/index.full.min.mjs` ,
7070 'element-plus/' : 'unsupported' ,
7171 } ,
7272 } )
Original file line number Diff line number Diff line change 11import fs from 'node:fs'
22import path from 'node:path'
33import vue from '@vitejs/plugin-vue'
4- import replPkg from '@vue/repl/package.json' with { type : 'json' }
4+ import replPkg from '@vue/repl/package.json' assert { type : 'json' }
55import Unocss from 'unocss/vite'
66import AutoImport from 'unplugin-auto-import/vite'
77import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
You can’t perform that action at this time.
0 commit comments