Skip to content

Commit 6fe3946

Browse files
committed
fix: resolve issues with blank download page
1 parent 598da15 commit 6fe3946

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Minecraft is an android game that takes players into a limitless world of creati
1616
You can download Minecraft from the official, **not** modified sources:
1717

1818
<script setup>
19-
import * as pkg from "vue-toastification"
20-
const { useToast } = pkg
19+
import { useToast } from "vue-toastification";
20+
import { ref } from "vue";
2121

2222
// Get toast interface
2323
const toast = useToast();

docs/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default defineConfig(() => {
1111
},
1212
ssr: {
1313
noExternal: [
14+
'vue-toastification',
1415
'@nolebase/vitepress-plugin-enhanced-readabilities',
1516
'@nolebase/ui',
1617
'@nolebase/vitepress-plugin-enhanced-readabilities/client',

0 commit comments

Comments
 (0)