个人 UI 组件库
首页
core
vant2
element2
  • 分类
  • 标签
  • 归档
github (opens new window)
gitee (opens new window)

放肆青春

一个前端菜鸟的技术成长之路
首页
core
vant2
element2
  • 分类
  • 标签
  • 归档
github (opens new window)
gitee (opens new window)
  • 开发指南

    • 快速上手
      • 简介
      • 安装
      • 全局导入
      • 特性
      • 浏览器支持
  • 自定义组件

    • button
    • tabs
    • video
    • svg
  • core
放肆青春
2021-12-31

快速上手

# 快速上手

本节将介绍如何在项目中使用 @roninwz-ui/core。

# 简介

自定义基于 Vue.js 2.0 的完全自主封装的前端 UI 组件库@roninwz-ui/core

# 安装

npm 安装:npm i @roninwz-ui/core --save

yarn 安装: yarn add @roninwz-ui/core --save

# 全局导入

// 导入核心ui组件库
import RoninwzUICore from "@roninwz-ui/core";

import "@roninwz-ui/core/lib/theme/index.css"; // 导入R@roninwz-ui/core样式

// 注册组件库
Vue.use(RoninwzUICore);
1
2
3
4
5
6
7

# 特性

  • 基于 Vue 开发的 UI 组件
  • 使用 npm + webpack + babel 的工作流,支持 ES2015
  • 提供友好的 API,可灵活的使用组件

# 浏览器支持

  • 现代浏览器和 IE9 及以上
  • Electron (opens new window)
  • NW.js (opens new window)
更新时间: 12/31/2021, 6:02:21 PM
button

button→

最近更新
01
快速上手
12-31
02
dialog
12-31
03
address
12-31
更多文章>
Theme by Vdoing | Copyright © 2019-2022 放肆青春
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式