0.0.4 • Published 11 months ago

@tovoo/corn v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

使用组件

$ npm i --save @tovoo/corn

注意:本组件依赖 Ant Design Vue 组件库部分组件!!!

注册

参考 Ant Design Vue 注册使用方法

如果你使用的 Vite,你可以使用 unplugin-vue-components 来进行按需加载,需要向 plugins 添加以下方法 可实现自动加载组件及对应

import { Corn } from '@tovoo/corn';
import '@tovoo/corn/es/corn/style/css'; //vite只能用 @tovoo/corn/es 而非 @tovoo/corn/lib

或者

向 plugins 添加以下方法 可实现自动加载组件及对应样式

// vite.config.js
import { defineConfig } from 'vite';
import Components from 'unplugin-vue-components/vite';

import { TovooResolver } from '@tovoo/corn/resolver';

export default defineConfig(({ mode }) => {
  return {
    plugins: [
      Components({
        resolvers: [
          TovooResolver(),
        ],
      }),
    ],
  };
});

属性说明如下:

属性说明类型默认值
expression(v-model)表达式内容string
show-expression是否显示时间表达式booleantrue
show-last-time是否显示最近5次运行时间booleanfalse
tab-propsant-design-vue Tabs组件参数Object

0.0.2 (2023-06-07)

Features

  • vite 自动载入同前缀名称过滤
0.0.3

11 months ago

0.0.4

11 months ago

0.0.2-beta.1

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

0.0.1-beta.21

11 months ago

0.0.1-beta.20

12 months ago

0.0.1-beta.19

12 months ago

0.0.1-beta.18

12 months ago

0.0.1-beta.17

12 months ago

0.0.1-beta.16

12 months ago

0.0.1-beta.15

12 months ago

0.0.1-beta.13

12 months ago

0.0.1-beta.12

12 months ago

0.0.1-beta.11

12 months ago

0.0.1-beta.10

12 months ago

0.0.1-beta.9

12 months ago

0.0.1-beta.8

12 months ago

0.0.1-beta.7

12 months ago

0.0.1-beta.6

12 months ago

0.0.1-beta.5

12 months ago

0.0.1-beta.4

12 months ago

0.0.1-beta.3

12 months ago

0.0.1-beta.2

12 months ago

0.0.1-beta.1

12 months ago

0.0.1-beta.0

12 months ago