@gjs-cto/element
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

v-element 使用最新的 Vue3.3 和 TS,@景上树梢

安装

npm i @gjs-cto/element  --save

开始使用

全局使用

// 引入所有组件
import VElement from "@gjs-cto/element";
// 引入样式
import "@gjs-cto/element/dist/index.css";

import App from "./App.vue";
// 全局使用
createApp(App).use(VElement).mount("#app");
<template>
  <vk-button>我是 VButton</vk-button>
</template>

单个导入

V Element 提供了基于 ES Module 的开箱即用的 Tree Shaking 功能。

<template>
  <Button>我是 VButton</Button>
</template>
<script>
import { Button } from " @gjs-cto/element";
export default {
  components: { Button },
};
</script>

Readme

Keywords

Package Sidebar

Install

npm i @gjs-cto/element

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.24 MB

Total Files

53

Last publish

Collaborators

  • sanjin2