Skip to content

Commit

Permalink
install icons
Browse files Browse the repository at this point in the history
  • Loading branch information
moell-peng committed Dec 31, 2023
1 parent c7721c4 commit c8276ed
Show file tree
Hide file tree
Showing 4 changed files with 347 additions and 3 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
"vue-router": "4"
},
"devDependencies": {
"@iconify/json": "^2.2.163",
"@vitejs/plugin-vue": "^1.1.5",
"@vue/compiler-sfc": "^3.0.5",
"mockjs": "^1.1.0",
"sass": "^1.30.0",
"unplugin-auto-import": "^0.5.11",
"unplugin-icons": "^0.18.1",
"unplugin-vue-components": "^0.17.18",
"vite": "^3.1.7",
"vite-plugin-mock": "^2.9.4",
Expand Down
2 changes: 1 addition & 1 deletion src/views/dashboard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</template>

<script setup>
import {Bell, Money, Sell, User, View} from "@element-plus/icons-vue"
import {Money, Sell, User, View} from "@element-plus/icons-vue"
</script>
<style lang="scss" scoped>
.data-cards {
Expand Down
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import vueSetupExtend from 'vite-plugin-vue-setup-extend'
import Icons from 'unplugin-icons/vite'


// https://vitejs.dev/config/
Expand All @@ -27,6 +28,7 @@ export default defineConfig(({ command }) => {
resolvers: [ElementPlusResolver()],
}),
vueSetupExtend(),
Icons(),
]
}
})
Expand Down
Loading

0 comments on commit c8276ed

Please sign in to comment.