chore: update
This commit is contained in:
parent
d20d67fd1b
commit
151bbf9ac9
@ -12,6 +12,14 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
(function() {
|
||||
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||
const setting = localStorage.getItem('color-schema') || 'auto'
|
||||
if (setting === 'dark' || (prefersDark && setting !== 'light'))
|
||||
document.documentElement.classList.toggle('dark', true)
|
||||
})()
|
||||
</script>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -9,7 +9,7 @@
|
||||
"@vueuse/core": "^4.0.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"vue": "^3.0.4",
|
||||
"vue-i18n": "9.0.0-beta.8",
|
||||
"vue-i18n": "^9.0.0-beta.15",
|
||||
"vue-router": "^4.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -18,7 +18,7 @@
|
||||
"@purge-icons/generated": "^0.4.1",
|
||||
"@tailwindcss/typography": "^0.3.1",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.10.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.11.0",
|
||||
"@vue/compiler-sfc": "^3.0.4",
|
||||
"@vue/server-renderer": "^3.0.4",
|
||||
"@vuedx/typescript-plugin-vue": "^0.2.3",
|
||||
@ -32,11 +32,11 @@
|
||||
"typescript": "^4.1.3",
|
||||
"vite": "^1.0.0-rc.13",
|
||||
"vite-plugin-components": "^0.5.0",
|
||||
"vite-plugin-md": "^0.1.4",
|
||||
"vite-plugin-md": "^0.1.5",
|
||||
"vite-plugin-purge-icons": "^0.4.5",
|
||||
"vite-plugin-pwa": "^0.1.7",
|
||||
"vite-plugin-voie": "^0.4.1",
|
||||
"vite-ssg": "^0.0.7",
|
||||
"vite-ssg": "^0.0.12",
|
||||
"voie-pages": "^0.4.0"
|
||||
},
|
||||
"pnpm": {
|
||||
|
717
pnpm-lock.yaml
generated
717
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -17,5 +17,5 @@ export const createApp = ViteSSG(
|
||||
router.beforeEach(() => { NProgress.start() })
|
||||
router.afterEach(() => { NProgress.done() })
|
||||
}
|
||||
}
|
||||
},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user