0.0.13 • Published 4 years ago

90s-ui v0.0.13

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

快速上手

本节将介绍如何在项目中使用 hello-ui。

引入 hello-ui

你可以引入整个 hello-ui,或是根据需要仅引入部分组件。我们先介绍如何引入完整的 hello-ui

完整引入

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

import Vue from 'vue';
import HelloUI from 'hello-ui';
import 'hello-ui/lib/theme-chalk/index.css';
import App from './App.vue';

Vue.use(HelloUI);

new Vue({
  el: '#app',
  render: h => h(App)
});

以上代码便完成了 hello-ui 的引入。需要注意的是,样式文件需要单独引入。

按需引入

抱歉,还没提供这种方式,后期会完善

开始使用

至此,一个基于 Vuehello-ui 的开发环境已经搭建完毕,现在就可以编写代码了。各个组件的使用方法请参阅它们各自的文档。

0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago