Skip to content

Commit

Permalink
feat: pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Apr 17, 2022
1 parent 359406d commit f59e107
Show file tree
Hide file tree
Showing 7 changed files with 454 additions and 336 deletions.
1 change: 1 addition & 0 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ declare global {
const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs']
const triggerRef: typeof import('vue')['triggerRef']
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
Expand Down
7 changes: 5 additions & 2 deletions components.d.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/vue-next/pull/3399
import '@vue/runtime-core'

declare module 'vue' {
declare module '@vue/runtime-core' {
export interface GlobalComponents {
IFeatherTwitter: typeof import('~icons/feather/twitter')['default']
IRiMoonLine: typeof import('~icons/ri/moon-line')['default']
IRiSunLine: typeof import('~icons/ri/sun-line')['default']
IUilGithubAlt: typeof import('~icons/uil/github-alt')['default']
Post: typeof import('./src/components/Post.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
TheFooter: typeof import('./src/components/TheFooter.vue')['default']
TheHeader: typeof import('./src/components/TheHeader.vue')['default']
ThemeToggle: typeof import('./src/components/ThemeToggle.vue')['default']
}
}

export { }
export {}
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"version": "0.2",
"language": "en",
"allowCompoundWords": true,
"words": [
"antfu",
"Bilibili",
Expand Down
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,42 @@
},
"prettier": "@ntnyq/prettier-config",
"devDependencies": {
"@iconify/json": "^2.1.21",
"@iconify/json": "^2.1.28",
"@ntnyq/prettier-config": "^0.3.1",
"@octokit/rest": "^18.12.0",
"@types/fs-extra": "^9.0.13",
"@types/markdown-it": "^12.2.3",
"@types/node": "^17.0.23",
"@types/node": "^17.0.24",
"@types/nprogress": "^0.2.0",
"@unocss/reset": "^0.30.7",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/server-renderer": "^3.2.31",
"dayjs": "^1.11.0",
"@unocss/reset": "^0.31.5",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/server-renderer": "^3.2.33",
"dayjs": "^1.11.1",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"lint-staged": "^12.3.8",
"markdown-it": "^12.3.2",
"markdown-it-prism": "^2.2.3",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"pug": "^3.0.2",
"typescript": "^4.6.3",
"unocss": "^0.30.7",
"unplugin-auto-import": "^0.6.8",
"unocss": "^0.31.5",
"unplugin-auto-import": "^0.7.1",
"unplugin-icons": "^0.14.1",
"unplugin-vue-components": "^0.18.5",
"vite": "^2.8.6",
"unplugin-vue-components": "^0.19.3",
"vite": "^2.9.5",
"vite-plugin-md": "^0.12.4",
"vite-plugin-pages": "^0.22.0",
"vite-plugin-pwa": "^0.11.13",
"vite-ssg": "^0.19.0"
"vite-ssg": "^0.19.2",
"vite-ssg-sitemap": "^0.2.2"
},
"dependencies": {
"@vueuse/core": "^8.2.0",
"@vueuse/head": "^0.7.5",
"@vueuse/core": "^8.2.6",
"@vueuse/head": "^0.7.6",
"nprogress": "^0.2.0",
"prism-theme-vars": "^0.2.2",
"vue": "^3.2.31",
"vue": "^3.2.33",
"vue-router": "^4.0.14"
}
}

0 comments on commit f59e107

Please sign in to comment.