# component-lib **Repository Path**: michstaBe1024/component-lib ## Basic Information - **Project Name**: component-lib - **Description**: 基于vue、element-ui、vxe-table二次封装的组件库。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-01-31 - **Last Updated**: 2025-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-docs-template [组件库地址-外网](http://element.yuzi.me/#/zh-CN) [组件库地址-内网](http://192.168.40.230:33331/#/zh-CN) 一个基于 Element-ui 风格的文档模板。 渲染 `Markdown` 中写的 vue 的代码。 - Markdown 文件 ``` :::demo ::: ``` ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn run serve ``` ### Compiles and minifies for production ``` yarn run build ``` ### Run your tests ``` yarn run test ``` ### Lints and fixes files ``` yarn run lint ``` ### release log ``` yarn run release ``` ## `Markdown` 文件中使用到的 Vue 组件需要在 `src/main.js` 中注册 - src/main.js ```vue import Star from '@/packages' Vue.use(Star) ``` - packages/index.js ```js import Divider from './divider' const install = Vue => { Vue.component(Divider.name, Divider) } export default { install } ``` ## 组件路由设置 模板中的组件路由根据 `nav.config.json` 文件生成