From 6f3194dd0230cc4d139e9869d04ecd8dc7ec1653 Mon Sep 17 00:00:00 2001 From: Chiwency <574300395@qq.com> Date: Thu, 8 Sep 2022 22:52:28 +0800 Subject: [PATCH] remove redundant admin dir --- admin/admin/.gitignore | 24 ------ admin/admin/README.md | 7 -- admin/admin/index.html | 13 ---- admin/admin/package.json | 18 ----- admin/admin/public/vite.svg | 1 - admin/admin/src/App.vue | 31 -------- admin/admin/src/assets/vue.svg | 1 - admin/admin/src/components/HelloWorld.vue | 40 ---------- admin/admin/src/main.js | 5 -- admin/admin/src/style.css | 90 ----------------------- admin/admin/vite.config.js | 7 -- 11 files changed, 237 deletions(-) delete mode 100644 admin/admin/.gitignore delete mode 100644 admin/admin/README.md delete mode 100644 admin/admin/index.html delete mode 100644 admin/admin/package.json delete mode 100644 admin/admin/public/vite.svg delete mode 100644 admin/admin/src/App.vue delete mode 100644 admin/admin/src/assets/vue.svg delete mode 100644 admin/admin/src/components/HelloWorld.vue delete mode 100644 admin/admin/src/main.js delete mode 100644 admin/admin/src/style.css delete mode 100644 admin/admin/vite.config.js diff --git a/admin/admin/.gitignore b/admin/admin/.gitignore deleted file mode 100644 index a547bf3..0000000 --- a/admin/admin/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/admin/admin/README.md b/admin/admin/README.md deleted file mode 100644 index 02124a7..0000000 --- a/admin/admin/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Vue 3 + Vite - -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` - - diff --git a/admin/admin/package.json b/admin/admin/package.json deleted file mode 100644 index d430100..0000000 --- a/admin/admin/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "admin", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, - "dependencies": { - "vue": "^3.2.37" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^3.0.3", - "vite": "^3.0.7" - } -} \ No newline at end of file diff --git a/admin/admin/public/vite.svg b/admin/admin/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/admin/admin/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/admin/src/App.vue b/admin/admin/src/App.vue deleted file mode 100644 index 6febdb7..0000000 --- a/admin/admin/src/App.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - - diff --git a/admin/admin/src/assets/vue.svg b/admin/admin/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/admin/admin/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/admin/src/components/HelloWorld.vue b/admin/admin/src/components/HelloWorld.vue deleted file mode 100644 index 91f9bfc..0000000 --- a/admin/admin/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/admin/admin/src/main.js b/admin/admin/src/main.js deleted file mode 100644 index 2425c0f..0000000 --- a/admin/admin/src/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import { createApp } from 'vue' -import './style.css' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/admin/admin/src/style.css b/admin/admin/src/style.css deleted file mode 100644 index a566a34..0000000 --- a/admin/admin/src/style.css +++ /dev/null @@ -1,90 +0,0 @@ -:root { - font-family: Inter, Avenir, Helvetica, Arial, sans-serif; - font-size: 16px; - line-height: 24px; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/admin/admin/vite.config.js b/admin/admin/vite.config.js deleted file mode 100644 index 315212d..0000000 --- a/admin/admin/vite.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()] -})