-
-
- $router.push({query: {}})">索引
- 🏷️{{tag}}
- 📂{{category}}
- {{activePost.title}}
-
-
+
+
-
+
+ 索引
+ 🏷️{{tag}}
+ 📂{{category}}
+ {{activePost.title}}
+
+
+
+
@@ -64,11 +63,11 @@ const activePost = computed(() => {
@use "../css/responsive"
#breadcrumb
- color: colors.$color-text-light
- margin-bottom: 20px
+ color: colors.$color-text-light
+ margin-bottom: 20px
- span:not(.no-after):after
- content: ">"
- margin: 0 10px
+ span:not(.no-after):after
+ content: ">"
+ margin: 0 10px
diff --git a/tsconfig.json b/tsconfig.json
index 1162ac1..a21bd59 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,41 +1,6 @@
{
- "compilerOptions": {
- "target": "esnext",
- "module": "esnext",
- "strict": false,
- "jsx": "preserve",
- "importHelpers": true,
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "skipLibCheck": true,
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "sourceMap": true,
- "baseUrl": ".",
- "paths": {
- "@/*": [
- "src/*"
- ]
- },
- "lib": [
- "esnext",
- "dom",
- "dom.iterable",
- "scripthost"
- ],
-
- "emitDecoratorMetadata": true,
- "allowJs": true,
- "resolveJsonModule": true
- },
- "include": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.vue",
- "tests/**/*.ts",
- "tests/**/*.tsx"
- ],
- "exclude": [
- "node_modules"
- ]
+ "extends": "./.nuxt/tsconfig.json",
+ "compilerOptions": {
+ "types": ["@types/jquery", "@types/jqueryui"]
+ }
}
diff --git a/vite.config.ts b/vite.config.ts
deleted file mode 100644
index 5d22005..0000000
--- a/vite.config.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { defineConfig } from "vite";
-import vue from "@vitejs/plugin-vue";
-import UnoCSS from 'unocss/vite';
-import path from "path";
-
-const src = path.resolve(__dirname, 'src')
-
-export default defineConfig({
- plugins: [
- vue(), UnoCSS()
- ],
- resolve: {
- alias: {
- '@': src,
-
- // Runtime compilation
- vue: "vue/dist/vue.esm-bundler.js"
- },
- dedupe: ['vue'],
- },
- server: {
- watch: {
- usePolling: true
- }
- }
-});