├── .gitignore ├── .vscode └── settings.json ├── README.md ├── deploy.sh ├── index.html ├── package.json ├── plugins └── md.ts ├── public └── favicon.ico ├── rollup.config.js ├── src ├── App.vue ├── assets │ ├── homeBack.png │ ├── homeRight.svg │ ├── js │ │ └── iconFont.js │ ├── logo.png │ ├── logo.svg │ └── menu.svg ├── components │ ├── AffixDemo.vue │ ├── AffixDemos │ │ ├── AssignAffix.vue │ │ └── BasicAffix.vue │ ├── ButtonDemo.vue │ ├── ButtonDemos │ │ ├── BtnDisabled.vue │ │ ├── BtnLevel.vue │ │ ├── BtnLoading.vue │ │ ├── BtnSize.vue │ │ └── BtnType.vue │ ├── CarouselDemo.vue │ ├── CarouselDemos │ │ ├── AnimationCarousel.vue │ │ ├── BasicCarousel.vue │ │ ├── Duration.vue │ │ └── SignCarousel.vue │ ├── CascaderDemo.vue │ ├── CascaderDemos │ │ ├── BasicCascader.vue │ │ ├── DisabledCascader.vue │ │ └── Multilayer.vue │ ├── CheckBoxDemo.vue │ ├── CheckBoxDemos │ │ ├── BasicCheckBox.vue │ │ ├── DisabledCheckBox.vue │ │ ├── GroupCheckBox.vue │ │ └── IndeterminateCheckBox.vue │ ├── CollapseDemo.vue │ ├── CollapseDemos │ │ ├── AccordionCollapse.vue │ │ ├── BasicCollapse.vue │ │ └── DisabledCollapse.vue │ ├── Demo.vue │ ├── DialogDemo.vue │ ├── DialogDemos │ │ ├── BasicDialog.vue │ │ └── FooterDialog.vue │ ├── DrawerDemo.vue │ ├── DrawerDemos │ │ ├── BasicDrawer.vue │ │ ├── CustomDrawer.vue │ │ └── PlacementDrawer.vue │ ├── IconDemo.vue │ ├── IconDemos │ │ └── basicIcon.vue │ ├── InputDemo.vue │ ├── InputDemos │ │ ├── BasicInput.vue │ │ ├── ClearableInput.vue │ │ ├── DisabledInput.vue │ │ ├── IconInput.vue │ │ ├── ShowPassword.vue │ │ └── TextareaInput.vue │ ├── LayoutDemo.vue │ ├── LayoutDemos │ │ ├── LayoutDemo1.vue │ │ ├── LayoutDemo2.vue │ │ ├── LayoutDemo3.vue │ │ └── LayoutDemo4.vue │ ├── MessageDemo.vue │ ├── MessageDemos │ │ ├── BasicMessage.vue │ │ ├── CloseMessage.vue │ │ ├── DurationMessage.vue │ │ └── TypeMessage.vue │ ├── Other │ │ ├── Aside.vue │ │ ├── Main.vue │ │ └── Markdown.vue │ ├── PagerDemo.vue │ ├── PagerDemos │ │ ├── BasicPager.vue │ │ ├── MorePager.vue │ │ ├── SimplePager.vue │ │ └── SizePager.vue │ ├── Popover │ │ ├── BasicPopover.vue │ │ ├── DirectionPopover.vue │ │ └── TriggerPopover.vue │ ├── PopoverDemo.vue │ ├── RadioDemo.vue │ ├── RadioDemos │ │ ├── BasicRadio.vue │ │ ├── DisabledRadio.vue │ │ └── RadioGroup.vue │ ├── RateDemo.vue │ ├── RateDemos │ │ ├── BasicRate.vue │ │ ├── ClearRate.vue │ │ ├── DIsableRate.vue │ │ ├── HalfRate.vue │ │ ├── IconRate.vue │ │ └── TextRate.vue │ ├── SpinDemo.vue │ ├── SpinDemos │ │ ├── BasicSpin.vue │ │ ├── SizeSpin.vue │ │ └── TextSpin.vue │ ├── SwitchDemo.vue │ ├── SwitchDemos │ │ ├── DefaultValue.vue │ │ ├── Disabled.vue │ │ ├── Loading.vue │ │ └── Size.vue │ ├── TabsDemo.vue │ └── TabsDemos │ │ ├── BasicDemo.vue │ │ ├── DisabledTabs.vue │ │ └── VerticalTabs.vue ├── lib │ ├── Affix.vue │ ├── Button.vue │ ├── Carousel │ │ ├── Carousel.vue │ │ └── CarouselItem.vue │ ├── Cascader │ │ ├── Cascader.vue │ │ └── CascaderItems.vue │ ├── CheckBox │ │ ├── CheckBox.vue │ │ └── CheckBoxGroup.vue │ ├── Collapse │ │ ├── Collapse.vue │ │ └── CollapseItem.vue │ ├── Dialog.vue │ ├── Drawer.vue │ ├── Icon.vue │ ├── Input.vue │ ├── Layout │ │ ├── Content.vue │ │ ├── Footer.vue │ │ ├── Header.vue │ │ ├── Layout.vue │ │ ├── Side.vue │ │ └── index.ts │ ├── Message │ │ ├── Message.vue │ │ └── index.ts │ ├── Pager.vue │ ├── Popover.vue │ ├── Radio │ │ ├── Radio.vue │ │ └── RadioGroup.vue │ ├── Rate.vue │ ├── Spin.vue │ ├── Switch.vue │ ├── Tab.vue │ ├── Table.vue │ ├── Tabs.vue │ └── index.ts ├── main.ts ├── markdown │ ├── get-started.md │ └── intro.md ├── router.ts ├── shims-vue.d.ts ├── styles │ ├── index.scss │ └── le.scss └── views │ ├── Doc.vue │ ├── Home.vue │ ├── TopNav.vue │ └── svg.vue ├── utils.ts ├── vite.config.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | *.local 5 | .idea/* 6 | /dist -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vue3snippets.enable-compile-vue-file-on-did-save-code": false 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # le-vue-ui 2 | 一套基于Vue3和TypeScript的UI组件库。 3 | > 本组件库旨在学习Vue3新特性以及熟悉TypeScript语法,可以作为学习项目,因此不建议在生产环境中使用。 4 | ## 特性 5 | * 基于最新的Vue3 Composition API 编写 6 | * ES2015+的支持以及严格的使用TypeScript编写 7 | * 采用Rollup配置打包 8 | * 友好的 API ,自由灵活地使用空间 9 | * 源码简单简洁,阅读无障碍 10 | * 细致、漂亮的 UI 11 | 12 | ## 版本 13 | * 0.0.4 beta 14 | 15 | ## 兼容性 16 | * 基于Vue js3.0 17 | * 现代浏览器及IE10+ 18 | * ES2015+ 19 | 20 | ## 相关链接 21 | * [Vuejs官方](https://cn.vuejs.org/index.html) 22 | * [Vite官方](https://github.com/vitejs/vite) 23 | * [Rollup.js](https://www.rollupjs.com/) 24 | * [TypeScript](https://www.typescriptlang.org/) 25 | 26 | ## License 27 | * MIT 28 | -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- 1 | rm -rf dist 2 | yarn build 3 | cd dist 4 | git init 5 | git add . 6 | git commit -m "update" 7 | git remote add gitee git@gitee.com:ChenXiaoLaNi/le-ui-docs.git 8 | git remote add origin git@github.com:mywebc/le-vue.git 9 | git push -f -u origin master:docs 10 | git push -f -u gitee master 11 | cd - 12 | echo https://chenxiaolani.com/le-vue/index.html#/ -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |8 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 9 | can be found as a welcome guest in many households across the world. 10 |
11 |12 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 13 | can be found as a welcome guest in many households across the world. 14 |
15 |16 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 17 | can be found as a welcome guest in many households across the world. 18 |
19 |22 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 23 | can be found as a welcome guest in many households across the world. 24 |
25 |26 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 27 | can be found as a welcome guest in many households across the world. 28 |
29 |30 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 31 | can be found as a welcome guest in many households across the world. 32 |
33 |36 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 37 | can be found as a welcome guest in many households across the world. 38 |
39 |40 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 41 | can be found as a welcome guest in many households across the world. 42 |
43 |44 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 45 | can be found as a welcome guest in many households across the world. 46 |
47 |8 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 9 | can be found as a welcome guest in many households across the world. 10 |
11 |12 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 13 | can be found as a welcome guest in many households across the world. 14 |
15 |16 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 17 | can be found as a welcome guest in many households across the world. 18 |
19 |22 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 23 | can be found as a welcome guest in many households across the world. 24 |
25 |26 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 27 | can be found as a welcome guest in many households across the world. 28 |
29 |30 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 31 | can be found as a welcome guest in many households across the world. 32 |
33 |36 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 37 | can be found as a welcome guest in many households across the world. 38 |
39 |40 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 41 | can be found as a welcome guest in many households across the world. 42 |
43 |44 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 45 | can be found as a welcome guest in many households across the world. 46 |
47 |8 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 9 | can be found as a welcome guest in many households across the world. 10 |
11 |12 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 13 | can be found as a welcome guest in many households across the world. 14 |
15 |16 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 17 | can be found as a welcome guest in many households across the world. 18 |
19 |22 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 23 | can be found as a welcome guest in many households across the world. 24 |
25 |26 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 27 | can be found as a welcome guest in many households across the world. 28 |
29 |30 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 31 | can be found as a welcome guest in many households across the world. 32 |
33 |36 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 37 | can be found as a welcome guest in many households across the world. 38 |
39 |40 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 41 | can be found as a welcome guest in many households across the world. 42 |
43 |44 | A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it 45 | can be found as a welcome guest in many households across the world. 46 |
47 |这是一段信息。
11 |这是一段信息。
12 |这是一段信息。
13 | 14 | 15 | 16 | 17 |自定义的内容!!
11 | 12 |这是一段信息。
11 |这是一段信息。
12 |这是一段信息。
13 | 14 | 15 | 16 | 17 |* Layout:布局容器,其下可嵌套 Header Sider Content Footer 或 Layout 本身,可以放在任何父容器中。
7 |* Header:顶部布局,自带默认样式,其下可嵌套任何元素。
8 |* Sider:侧边栏,自带默认样式及基本功能,其下可嵌套任何元素。
9 |* Content:内容部分,自带默认样式,其下可嵌套任何元素。
10 |* Footer:底部布局,自带默认样式,其下可嵌套任何元素。
11 | 注意:采用 flex 布局实现,请注意浏览器兼容性问题。 12 |
7 | {{ column.text }}
8 | |
9 |
---|
{{ data[column.field] }} | 14 |