0.1.1 • Published 2 years ago

testvue3 v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

testvue3

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

testvue3

安装

使用npm 或 yarn 安装

npm install testvue3
yarn add testvue3

引入 testvue3

完整引入

需要注意的是 css 样式文件需要单独引入。

在 main.js 中写入以下内容:

import { createApp } from 'vue'
import App from './App.vue'
// 导入组件库
import testvue3 from 'testvue3'
import 'testvue3/lib/testvue3.css';

const app = createApp(App)
app.use(testvue3)
app.mount('#app')

愉快开始

至此 m-baseui 就引入完成并且可以使用了。

<!-- html -->
<s-button>默认按钮</s-button>
<s-button type="primary">主要按钮</s-button>
0.1.1

2 years ago

0.1.0

2 years ago

2.0.0

3 years ago

1.2.0

3 years ago