Skip to content

FEMessage/element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Travis CI User
Sep 1, 2020
4c52b7d · Sep 1, 2020
Nov 27, 2019
Mar 9, 2020
Sep 1, 2020
Sep 1, 2020
Jun 1, 2020
Mar 9, 2020
Jun 8, 2020
Nov 13, 2019
Jun 25, 2018
Nov 12, 2019
Oct 24, 2016
Nov 12, 2019
Jan 9, 2020
Mar 9, 2020
Mar 9, 2020
Mar 9, 2020
Sep 1, 2020
Mar 9, 2020
Nov 29, 2017
Aug 22, 2018
Jun 5, 2018
Nov 27, 2019
Nov 27, 2019
Jan 15, 2020
May 15, 2019
Dec 13, 2016
Aug 10, 2020
Nov 13, 2019
Sep 1, 2020
Jun 27, 2019
Sep 1, 2020

Repository files navigation

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

Packages

No packages published

Languages

  • Vue 58.2%
  • JavaScript 27.1%
  • SCSS 14.3%
  • Other 0.4%