Giter Site home page Giter Site logo

louis16 / uniapp-vue3-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liugangtaotie/uniapp-vue3-ui

0.0 0.0 0.0 985 KB

基于 vue3 实现的 一套 uniapp ui 组件库

JavaScript 13.63% Makefile 0.03% Shell 0.01% HTML 0.07% Vue 79.28% TypeScript 0.11% SCSS 1.51% CSS 5.35%

uniapp-vue3-ui's Introduction

logo

uniapp-vue3-ui

多平台快速开发的UI框架

说明

基于 vue3.x的common UI next,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水

特性

  • 兼容安卓,iOS,微信小程序,H5,QQ小程序,百度小程序,支付宝小程序,头条小程序
  • 60+精选组件,功能丰富,多端兼容,让您快速集成,开箱即用
  • 众多贴心的JS利器,让您飞镖在手,召之即来,百步穿杨
  • 众多的常用页面和布局,让您专注逻辑,事半功倍
  • 详尽的文档支持,现代化的演示效果
  • 按需引入,精简打包体积

安装

# npm方式安装
npm i @common/uniapp-vue3-ui

快速上手

  1. main.ts引入@common/uniapp-vue3-ui库
// main.ts
import bsCommonUI from '@common/uniapp-vue3-ui';
Vue.use(bsCommonUI);
  1. App.vue引入基础样式(注意style标签需声明scss属性支持)
/* App.vue */
<style scoped lang="scss">
@import "@common/uniapp-vue3-ui/index.scss";
</style>
  1. uni.scss引入全局scss变量文件
/* uni.scss */
@import "@common/uniapp-vue3-ui/theme.scss";
  1. pages.json配置easycom规则(按需引入)
// pages.json
{
 "easycom": {
  // npm安装的方式不需要前面的"@/",下载安装的方式需要"@/"
  // npm安装方式
  "^u-(.*)": "@common/uniapp-vue3-ui/components/u-$1/u-$1.vue"
  // 下载安装方式
  // "^u-(.*)": "@/@common/uniapp-vue3-ui/components/u-$1/u-$1.vue"
 },
 // 此为本身已有的内容
 "pages": [
  // ......
 ]
}

请通过快速上手了解更详细的内容

使用方法

配置easycom规则后,自动按需引入,无需import组件,直接引用即可。

<template>
	<u-button>按钮</u-button>
</template>

请通过快速上手了解更详细的内容

链接

预览

您可以通过微信扫码,查看最佳的演示效果。

版权信息

@common/uniapp-vue3-ui遵循MIT开源协议,意味着您无需支付任何费用,也无需授权,即可将bsCommonUI应用到您的产品中。

uniapp-vue3-ui's People

Contributors

liugangtaotie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.