Giter VIP home page Giter VIP logo

element's Introduction

Build Status NPM Download NPM Version NPM License PRs Welcome Automated Release Notes by gren


Install

npm install @femessage/element-ui -S

#or
yarn add @femessage/element-ui

Quick Start

import Vue from 'vue'
import Element from '@femessage/element-ui'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from '@femessage/element-ui'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

For more information, please refer to Quick Start in our documentation.

Generate Theme

# fork this repository

git clone https://github/{ user || owner }/element.git

# remember: if want to update your component and its css, must merge latest only-component branch into your repository
git checkout -b only-component new-theme

# modify packages/theme-chalk/src/common/var.scss

# modify package name in packages/theme-chalk/package.json

sh ./publish-theme.sh

# now a new theme publish to npm for your own

The reason to checkout from branch only-component, can be found in Contributing Guide

Development

# install dependence
yarn bootstrap

# generate files for examples site
yarn build:file

# generate theme files
yarn build:theme

# generate utils files
yarn build:utils

# generate files about locale
yarn build:umd

# clean files from yarn dist
yarn clean

# bundle examples site
yarn deploy:build

# bundle extension files
yarn deploy:extension

# extension local dev
yarn dev:extension

# local dev and preview examples site
yarn dev

# local dev single component
yarn dev:play

# bundle all lib
yarn dist

# generate i18n files
yarn i18n

# using eslint to check code style
yarn lint

# run unit test
yarn test

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Browser Support

Modern browsers and Internet Explorer 10+.

Links

LICENSE

MIT

element's People

Contributors

leopoldthecoder avatar baiyaaaaa avatar qingwei-li avatar furybean avatar ziyoung avatar jikkai avatar wacky6 avatar liril-net avatar gonzalo2310 avatar csvwolf avatar dreamacro avatar njleonzhang avatar pengchongfu avatar elfman avatar lianghx-319 avatar waynecz avatar coderdiaz avatar kingwl avatar maranran avatar panjiachen avatar hi-linlin avatar liyanlong avatar raganof avatar masterzhang avatar reverland avatar carmencitaqiu avatar nicoeg avatar leezng avatar changjoo-park avatar mdartic avatar

Watchers

James Cloos 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.