chore: cleanup

This commit is contained in:
Anthony Fu 2021-07-23 10:54:50 +08:00
parent 17ae347421
commit a2a7eaa642
4 changed files with 7 additions and 28 deletions

View File

@ -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",

6
pnpm-lock.yaml generated
View File

@ -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

12
src/shims.d.ts vendored
View File

@ -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
}

View File

@ -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