epee-ui
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

vue3组件库,还在开发中...

V0.1.4

TODO

  • 文档 docs
  • 文档编写,markdown-loader
  • readme
  • 主题 theme
  • 主题样式变量
  • 主题使用方式
  • 主题切换方式
  • 主题生成
  • 组件 component
  • 服务组件
  • 基础组件
  • 工具 utils
    • emitter
    • designComponent完善
  • 类型 types
    • d.ts定义
  • 测试 test
    • 测试项目/测试代码
  • 部署
    • 自动部署/发布

快速开始

npm i epee-ui

main.js/main.ts

import { createApp } from 'vue'
import App from './App.vue'
 
import EpeeUI from 'epee-ui'
import 'epee-ui/dist/index.css'
 
createApp(App).use(EpeeUI).mount('#app')
<template>
 
  <epee-button>button</epee-button>
 
</template>
 
<script>
 
 
export default {
  name: 'App',
  components: {
   
  }
}
</script>
 

配置按需引入组件()

无需安装插件 babel-plugin-import

使用

<template>
  <div>
      <Button >111 </Button>
  </div>
</template>
 
<script lang="ts">
import { defineComponent } from "vue";
import {Button} from "epee-ui";
export default defineComponent({
  name: "App",
  components: {
     Button
  },
  setup() {
   //
  },
});
</script>
 
 

如果要使用自定义标签名称

import { Input as EpeeInput } from "epee-ui";

gitee

暂时用gitee管理

https://gitee.com/hhhsir/epee-ui

document

http://hhhsir.gitee.io/epee-ui

相关资料

开发说明

目录结构




记录

rollup+webpack所需要的依赖

npm i autoprefixer@8 babel-loader@8 css-loader@5 mini-css-extract-plugin postcss@8 postcss-loader@4 rollup-plugin-postcss@3 rollup-plugin-terser sass sass-loader@8 ts-loader@8 typescript webpack@4 webpack-cli@4 webpack-merge @rollup/plugin-babel @rollup/plugin-commonjs @rollup/plugin-node-resolve @rollup/plugin-typescript -D

Readme

Keywords

none

Package Sidebar

Install

npm i epee-ui

Weekly Downloads

9

Version

0.1.13

License

none

Unpacked Size

79 kB

Total Files

45

Last publish

Collaborators

  • huangsir