Code Monkey home page Code Monkey logo

gourd-ui's Introduction

Gourd :id=home

介绍

一个基于葫芦侠移动端UI设计的Vue轻量级的组件库,其中组件属性,代码风格等参考了ElementVant

概述

这是一个简单易用 Vue 轻量级的 移动端 组件库,组件功能虽然简单,但它是我在组件封装中的一个成长过程。

快速开始

引入项目 dist 目录下的 gourd.js 和样式 gourd.css

<!-- 引入样式 -->
<link rel="stylesheet" href="./gourd-ui/dist/gourd.css" />
<!-- js -->
<script src="./gourd-ui/dist/gourd.js"></script>
// 模块化安装
import Vue from 'vue';

import Gourd from 'gourd-ui/dist/gourd.js';

// 加载样式
import 'gourd-ui/dist/gourd.css';

// 安装插件
Vue.use(Gourd);

开始使用

<gourd-button>默认按钮</gourd-button>
<gourd-button type="primary">主要按钮</gourd-button>
默认按钮 主要按钮
<script> new Vue({ el:'#demo-main' }) </script>

gourd-ui's People

Contributors

purpleru avatar subei12 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.