Skip to content

Commit c489458

Browse files
committed
chore: delete useless code & update example
1 parent 9f4ca19 commit c489458

File tree

16 files changed

+204
-1185
lines changed

16 files changed

+204
-1185
lines changed

.vscode/extensions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"recommendations": [
33
"vue.volar",
4-
"dbaeumer.vscode-eslint",
5-
"EditorConfig.EditorConfig"
4+
"dbaeumer.vscode-eslint"
65
]
76
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
7-
<title>ElementPlus Demo</title>
7+
<title>Element Plus Demo</title>
88
<meta name="description" content="ElementPlus Demo" />
99
</head>
1010
<body class="font-sans dark:text-white dark:bg-hex-121212">

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packageManager": "[email protected]",
55
"scripts": {
66
"build": "vite build",
7-
"dev": "vite --port 3333",
7+
"dev": "vite --port 3100",
88
"lint": "eslint .",
99
"typecheck": "vue-tsc",
1010
"preview": "vite preview",
@@ -24,21 +24,18 @@
2424
"@antfu/eslint-config": "^4.14.1",
2525
"@iconify-json/carbon": "^1.2.9",
2626
"@types/node": "^22.15.31",
27-
"@unocss/eslint-plugin": "^66.2.0",
2827
"@vitejs/plugin-vue": "^5.2.4",
29-
"@vue-macros/volar": "^3.0.0-beta.14",
3028
"@vue/test-utils": "^2.4.6",
3129
"eslint": "^9.28.0",
3230
"eslint-plugin-format": "^1.0.1",
3331
"jsdom": "^26.1.0",
3432
"lint-staged": "^16.1.0",
33+
"sass": "^1.90.0",
3534
"simple-git-hooks": "^2.13.0",
3635
"taze": "^19.1.0",
3736
"typescript": "^5.8.3",
38-
"unocss": "^66.2.0",
3937
"unplugin-auto-import": "^19.3.0",
4038
"unplugin-vue-components": "^28.7.0",
41-
"unplugin-vue-macros": "^2.14.5",
4239
"unplugin-vue-router": "^0.12.0",
4340
"vite": "^6.3.5",
4441
"vitest": "^3.2.3",

pnpm-lock.yaml

Lines changed: 155 additions & 1106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/favicon.svg

Lines changed: 1 addition & 9 deletions
Loading

shims.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/// <reference types="vite/client" />
2+
3+
declare module '*.vue' {
4+
import type { DefineComponent } from 'vue'
5+
6+
const component: DefineComponent<object, object, any>
7+
export default component
8+
}

src/components/Main.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script setup lang="ts">
2+
3+
</script>
4+
5+
<template>
6+
<div class="w-screen h-screen flex flex-col items-center justify-center">
7+
<slot />
8+
</div>
9+
</template>

src/components/TheInput.vue

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { createRouter, createWebHistory } from 'vue-router'
33
import { routes } from 'vue-router/auto-routes'
44
import App from './App.vue'
55

6-
import './styles/index.css'
7-
import './styles/main.css'
6+
import './styles/tailwind.css'
7+
import './styles/main.scss'
88

99
const app = createApp(App)
1010
const router = createRouter({

src/pages/README.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)