diff --git a/package.json b/package.json index 8e189e5..6263e92 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "devDependencies": { "@antfu/eslint-config": "^0.7.0", "@iconify/json": "^1.1.378", + "@types/node": "^16.4.1", "@typescript-eslint/eslint-plugin": "^4.28.3", "@vitejs/plugin-vue": "^1.2.5", "@vue/compiler-sfc": "^3.1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc4cafe..f22666e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,6 +3,7 @@ lockfileVersion: 5.3 specifiers: '@antfu/eslint-config': ^0.7.0 '@iconify/json': ^1.1.378 + '@types/node': ^16.4.1 '@typescript-eslint/eslint-plugin': ^4.28.3 '@vitejs/plugin-vue': ^1.2.5 '@vue/compiler-sfc': ^3.1.5 @@ -33,6 +34,7 @@ dependencies: devDependencies: '@antfu/eslint-config': 0.7.0_eslint@7.31.0+typescript@4.3.5 '@iconify/json': 1.1.378 + '@types/node': 16.4.1 '@typescript-eslint/eslint-plugin': 4.28.3_eslint@7.31.0+typescript@4.3.5 '@vitejs/plugin-vue': 1.2.5_@vue+compiler-sfc@3.1.5 '@vue/compiler-sfc': 3.1.5_vue@3.1.5 @@ -428,6 +430,10 @@ packages: resolution: {integrity: sha512-YSBPTLTVm2e2OoQIDYx8HaeWJ5tTToLH67kXR7zYNGupXMEHa2++G8k+DczX2cFVgalypqtyZIcU19AFcmOpmg==} dev: true + /@types/node/16.4.1: + resolution: {integrity: sha512-UW7cbLqf/Wu5XH2RKKY1cHwUNLicIDRLMraYKz+HHAerJ0ZffUEk+fMnd8qU2JaS6cAy0r8tsaf7yqHASf/Y0Q==} + dev: true + /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true diff --git a/src/shims.d.ts b/src/shims.d.ts deleted file mode 100644 index 3da5079..0000000 --- a/src/shims.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* eslint-disable import/no-duplicates */ - -declare interface Window { - // extend the window -} - -// with vite-plugin-md, markdowns can be treat as Vue components -declare module '*.md' { - import { ComponentOptions } from 'vue' - const component: ComponentOptions - export default component -} diff --git a/src/styles/main.css b/src/styles/main.css index cb0fd87..6829bd1 100755 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -10,22 +10,6 @@ html.dark { background: #121212; } -#nprogress { - pointer-events: none; -} - -#nprogress .bar { - @apply bg-teal-600 opacity-75; - - position: fixed; - z-index: 1031; - top: 0; - left: 0; - - width: 100%; - height: 2px; -} - .btn { @apply px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer