xiaoxian521
3 years ago
27 changed files with 456 additions and 455 deletions
-
2mock/asyncRoutes.ts
-
19package.json
-
551pnpm-lock.yaml
-
27src/components/ReIcon/index.ts
-
70src/components/ReIcon/src/iconifyIconOffline.ts
-
30src/components/ReIcon/src/iconifyIconOnline.ts
-
2src/layout/components/appMain.vue
-
14src/layout/components/navbar.vue
-
4src/layout/components/notice/index.vue
-
2src/layout/components/panel/index.vue
-
9src/layout/components/setting/index.vue
-
8src/layout/components/sidebar/horizontal.vue
-
51src/layout/components/tag/index.vue
-
7src/layout/index.vue
-
5src/layout/types.ts
-
5src/main.ts
-
56src/plugins/element-plus/index.ts
-
2src/router/modules/error.ts
-
2src/router/modules/externalLink.ts
-
2src/router/modules/home.ts
-
2src/router/modules/remaining.ts
-
2src/store/modules/multiTags.ts
-
2src/store/modules/user.ts
-
2src/utils/storage/responsive.ts
-
16src/views/login.vue
-
18types/global.d.ts
-
1windi.config.ts
@ -29,12 +29,11 @@ |
|||
], |
|||
"dependencies": { |
|||
"@ctrl/tinycolor": "^3.4.0", |
|||
"@element-plus/icons-vue": "^0.2.6", |
|||
"@fortawesome/fontawesome-svg-core": "^1.2.36", |
|||
"@fortawesome/free-solid-svg-icons": "^5.15.4", |
|||
"@fortawesome/vue-fontawesome": "^3.0.0-5", |
|||
"@vueuse/core": "^7.5.3", |
|||
"@vueuse/motion": "^2.0.0-beta.4", |
|||
"@vueuse/motion": "^2.0.0-beta.9", |
|||
"animate.css": "^4.1.1", |
|||
"axios": "^0.25.0", |
|||
"css-color-function": "^1.3.3", |
|||
@ -62,6 +61,8 @@ |
|||
"devDependencies": { |
|||
"@commitlint/cli": "13.1.0", |
|||
"@commitlint/config-conventional": "13.1.0", |
|||
"@iconify-icons/ep": "^1.1.3", |
|||
"@iconify/vue": "^3.1.2", |
|||
"@types/element-resize-detector": "1.1.3", |
|||
"@types/js-cookie": "^3.0.1", |
|||
"@types/mockjs": "1.0.3", |
|||
@ -75,7 +76,7 @@ |
|||
"@vitejs/plugin-vue-jsx": "^1.3.3", |
|||
"@vue/eslint-config-prettier": "6.0.0", |
|||
"@vue/eslint-config-typescript": "7.0.0", |
|||
"@zougt/vite-plugin-theme-preprocessor": "^1.4.0", |
|||
"@zougt/vite-plugin-theme-preprocessor": "^1.4.4", |
|||
"autoprefixer": "10.2.4", |
|||
"cross-env": "7.0.3", |
|||
"eslint": "7.30.0", |
|||
@ -95,16 +96,16 @@ |
|||
"stylelint-config-standard": "22.0.0", |
|||
"stylelint-order": "4.1.0", |
|||
"typescript": "4.4.2", |
|||
"unplugin-element-plus": "^0.1.3", |
|||
"vite": "2.6.14", |
|||
"unplugin-element-plus": "^0.2.0", |
|||
"vite": "^2.7.13", |
|||
"vite-plugin-live-reload": "^2.1.0", |
|||
"vite-plugin-mock": "^2.9.6", |
|||
"vite-plugin-remove-console": "^0.0.6", |
|||
"vite-plugin-style-import": "^1.2.1", |
|||
"vite-plugin-windicss": "^1.6.1", |
|||
"vite-svg-loader": "^2.2.0", |
|||
"vite-plugin-style-import": "^1.4.1", |
|||
"vite-plugin-windicss": "^1.6.3", |
|||
"vite-svg-loader": "2.2.0", |
|||
"vue-eslint-parser": "7.10.0", |
|||
"windicss": "^3.4.2" |
|||
"windicss": "^3.4.3" |
|||
}, |
|||
"repository": "[email protected]:xiaoxian521/vue-pure-admin.git", |
|||
"author": "xiaoxian521", |
|||
|
551
pnpm-lock.yaml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,70 @@ |
|||
import { h, defineComponent } from "vue"; |
|||
import { Icon as IconifyIcon, addIcon } from "@iconify/vue/dist/offline"; |
|||
import Check from "@iconify-icons/ep/check"; |
|||
import Menu from "@iconify-icons/ep/menu"; |
|||
import HomeFilled from "@iconify-icons/ep/home-filled"; |
|||
import SetUp from "@iconify-icons/ep/set-up"; |
|||
import Edit from "@iconify-icons/ep/edit"; |
|||
import Setting from "@iconify-icons/ep/setting"; |
|||
import Lollipop from "@iconify-icons/ep/lollipop"; |
|||
import Link from "@iconify-icons/ep/link"; |
|||
import Position from "@iconify-icons/ep/position"; |
|||
import Histogram from "@iconify-icons/ep/histogram"; |
|||
import RefreshRight from "@iconify-icons/ep/refresh-right"; |
|||
import ArrowDown from "@iconify-icons/ep/arrow-down"; |
|||
import Close from "@iconify-icons/ep/close"; |
|||
import CloseBold from "@iconify-icons/ep/close-bold"; |
|||
import Bell from "@iconify-icons/ep/bell"; |
|||
import Guide from "@iconify-icons/ep/guide"; |
|||
import User from "@iconify-icons/ep/user"; |
|||
import Iphone from "@iconify-icons/ep/iphone"; |
|||
import Location from "@iconify-icons/ep/location"; |
|||
import Tickets from "@iconify-icons/ep/tickets"; |
|||
import OfficeBuilding from "@iconify-icons/ep/office-building"; |
|||
import Notebook from "@iconify-icons/ep/notebook"; |
|||
addIcon("check", Check); |
|||
addIcon("menu", Menu); |
|||
addIcon("home-filled", HomeFilled); |
|||
addIcon("set-up", SetUp); |
|||
addIcon("edit", Edit); |
|||
addIcon("setting", Setting); |
|||
addIcon("lollipop", Lollipop); |
|||
addIcon("link", Link); |
|||
addIcon("position", Position); |
|||
addIcon("histogram", Histogram); |
|||
addIcon("refresh-right", RefreshRight); |
|||
addIcon("arrow-down", ArrowDown); |
|||
addIcon("close", Close); |
|||
addIcon("close-bold", CloseBold); |
|||
addIcon("bell", Bell); |
|||
addIcon("guide", Guide); |
|||
addIcon("user", User); |
|||
addIcon("iphone", Iphone); |
|||
addIcon("location", Location); |
|||
addIcon("tickets", Tickets); |
|||
addIcon("office-building", OfficeBuilding); |
|||
addIcon("notebook", Notebook); |
|||
|
|||
// Iconify Icon在Vue里离线使用(用于内网环境)
|
|||
// https://docs.iconify.design/icon-components/vue/offline.html
|
|||
export default defineComponent({ |
|||
name: "IconifyIcon", |
|||
components: { IconifyIcon }, |
|||
props: { |
|||
icon: { |
|||
type: String, |
|||
default: "" |
|||
} |
|||
}, |
|||
render() { |
|||
return h( |
|||
IconifyIcon, |
|||
{ |
|||
icon: `${this.icon}` |
|||
}, |
|||
{ |
|||
default: () => [] |
|||
} |
|||
); |
|||
} |
|||
}); |
@ -0,0 +1,30 @@ |
|||
import { h, defineComponent } from "vue"; |
|||
import { Icon as IconifyIcon } from "@iconify/vue"; |
|||
|
|||
// Iconify Icon在Vue里在线使用(用于外网环境)
|
|||
// https://docs.iconify.design/icon-components/vue/offline.html
|
|||
export default defineComponent({ |
|||
name: "IconifyIcon", |
|||
components: { IconifyIcon }, |
|||
props: { |
|||
icon: { |
|||
type: String, |
|||
default: "" |
|||
}, |
|||
type: { |
|||
type: String, |
|||
default: "ep:" |
|||
} |
|||
}, |
|||
render() { |
|||
return h( |
|||
IconifyIcon, |
|||
{ |
|||
icon: `${this.type}${this.icon}` |
|||
}, |
|||
{ |
|||
default: () => [] |
|||
} |
|||
); |
|||
} |
|||
}); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue