File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 9
9
"vitepress" : " ^0.17.3"
10
10
},
11
11
"dependencies" : {
12
- "@vue/repl" : " ^0.2.3 " ,
12
+ "@vue/repl" : " ^0.2.4 " ,
13
13
"@vue/theme" : " ^0.1.5"
14
14
}
15
15
}
Original file line number Diff line number Diff line change @@ -447,6 +447,9 @@ module.exports = {
447
447
vite : {
448
448
optimizeDeps : {
449
449
exclude : [ '@vue/repl' ]
450
+ } ,
451
+ ssr : {
452
+ external : [ '@vue/repl' ]
450
453
}
451
454
} ,
452
455
Original file line number Diff line number Diff line change @@ -3,8 +3,14 @@ aside: false
3
3
page : true
4
4
---
5
5
6
- <script setup >
7
- import Examples from ' ./Examples.vue'
6
+ <script >
7
+ import { defineAsyncComponent } from ' vue'
8
+
9
+ export default {
10
+ components: {
11
+ Examples: defineAsyncComponent (() => import (' ./Examples.vue' ))
12
+ }
13
+ }
8
14
</script >
9
15
10
16
<ClientOnly >
Original file line number Diff line number Diff line change 291
291
estree-walker "^2.0.2"
292
292
magic-string "^0.25.7"
293
293
294
- " @vue/repl@^0.2.3 " :
295
- version "0.2.3 "
296
- resolved "https://registry.yarnpkg.com/@vue/repl/-/repl-0.2.3 .tgz#af71ed98dbccd6bd6a0b89a4644be4e402a9647e "
297
- integrity sha512-J30cpBXMkRdgkGTerOURLb+tHceThwdzlK5mYXuZ4QFGQh9TP2/G0qTZIP7kW86CXDXQrJ+i22Pqaa1JBTHmMQ ==
294
+ " @vue/repl@^0.2.4 " :
295
+ version "0.2.4 "
296
+ resolved "https://registry.yarnpkg.com/@vue/repl/-/repl-0.2.4 .tgz#2d97a2b804fa1b96360fa9ff85ad284838cfc19c "
297
+ integrity sha512-Vo45lseAJeb4+tJRCdG3vOxu5dA7/aKL7xxLGOp5lmD0dPm0l0VvJ9koZW8OEkRLrKFFv8x6y7tvqOLffAYL+w ==
298
298
299
299
300
300
version "3.2.11"
You can’t perform that action at this time.
0 commit comments