# icon **Repository Path**: akaedu2012/icon ## Basic Information - **Project Name**: icon - **Description**: 金螳螂家图标库,项目中可快速引入svg图标 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-13 - **Last Updated**: 2025-02-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 指南 ## 基础 ### 安装 ```shell npm i jtljia-icons ``` ### 快速开始 #### 用法 如果你对打包后的文件大小不是很在乎,那么使用完整导入会更方便。 ##### 完整引入 ```ts // main.ts import { createApp } from 'vue' import JtljiaIcons from 'jtljia-icons' import App from './App.vue' const app = createApp(App) app.use(JtljiaIcons) app.mount('#app') ``` ###### Volar 支持 如果您使用 Volar,请在 tsconfig.json 中通过 compilerOptions.type 指定全局组件类型。 ```json // tsconfig.json { "compilerOptions": { // ... "types": ["jtljia-icons/dist/types/components/index.d.ts"] } } ``` ##### 按需导入 ```vue ```