0.1.13 • Published 4 years ago

epee-ui v0.1.13

Weekly downloads
39
License
-
Repository
-
Last release
4 years ago

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
0.1.13

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago