diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json
index 76e6a014e..04752e391 100644
--- a/packages/sfc-playground/package.json
+++ b/packages/sfc-playground/package.json
@@ -9,10 +9,10 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
- "vite": "^4.3.9"
+ "vite": "^4.4.2"
},
"dependencies": {
- "@vue/repl": "^2.4.0",
+ "@vue/repl": "^2.5.4",
"file-saver": "^2.0.5",
"jszip": "^3.6.0",
"vue": "workspace:*"
diff --git a/packages/sfc-playground/src/App.vue b/packages/sfc-playground/src/App.vue
index f9b77f47e..744cfd4d9 100644
--- a/packages/sfc-playground/src/App.vue
+++ b/packages/sfc-playground/src/App.vue
@@ -73,7 +73,7 @@ function toggleSSR() {
store.setFiles(store.getFiles())
}
-const theme = ref('dark')
+const theme = ref<'dark' | 'light'>('dark')
function toggleTheme(isDark: boolean) {
theme.value = isDark ? 'dark' : 'light'
}
diff --git a/packages/sfc-playground/src/Header.vue b/packages/sfc-playground/src/Header.vue
index d8271b8e5..e865a76a5 100644
--- a/packages/sfc-playground/src/Header.vue
+++ b/packages/sfc-playground/src/Header.vue
@@ -1,44 +1,35 @@
@@ -109,28 +60,28 @@ async function fetchVersions(): Promise {
Vue SFC Playground
-
-
- Version
- {{ activeVersion }}
-
-
-
+
+
+
+ This Commit ({{ currentCommit }})
+
+
+ Commits History
+
+
-