0.0.33 • Published 2 years ago

dxp-design v0.0.33

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

A Vue.js 2.0 UI Toolkit for Web.

Element will stay with Vue 2.x

Install

npm install dxp-design -S

Quick Start

import Vue from 'vue'
import Element from 'dxp-design'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from 'dxp-design'

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

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

Browser Support

Modern browsers and Internet Explorer 10+.

Links

LICENSE

MIT