https://github.com/chaogao/jsmod-pc-vue
high scalability && freedom vue ui components
https://github.com/chaogao/jsmod-pc-vue
vue
Last synced: 5 months ago
JSON representation
high scalability && freedom vue ui components
- Host: GitHub
- URL: https://github.com/chaogao/jsmod-pc-vue
- Owner: chaogao
- Created: 2017-05-23T10:06:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T06:54:35.000Z (over 7 years ago)
- Last Synced: 2024-08-04T09:01:36.749Z (over 1 year ago)
- Topics: vue
- Language: JavaScript
- Homepage: http://jsmod-vue.tedfe.com/
- Size: 536 KB
- Stars: 72
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - jsmod-vue-pc - high scalability && freedom vue ui components ` 📝 3 years ago` (Frameworks [🔝](#readme))
- awesome-vue-zh - jsmod-vue-pc - 适用于vue 2.0的高度可扩展的Web组件 (构架 / 组件集合)
- awesome-vue - jsmod-vue-pc - Highly scalable web components for vue 2.0 (Components & Libraries / Frameworks)
- awesome-vue - jsmod-vue-pc ★70 - Highly scalable web components for vue 2.0 (Frameworks / Component Collections)
- awesome-vue - jsmod-vue-pc - Highly scalable web components for vue 2.0 (Frameworks / Component Collections)
- awesome-uikit - jsmod-pc-vue - pc-vue?label=" /> - high scalability && freedom vue ui components. [![Open-Source Software][OSS Icon]](https://github.com/chaogao/jsmod-pc-vue) (UI Components / Vue)
README
### [En|中文 Docs](http://jsmod-vue.tedfe.com/)
### Overview
The goal of `jsmod` is to provide a high degree of freedom (high scalability) ui components, and unified desktop and mobile usage, is a **client-side** component library
### Support [SSR](https://ssr.vuejs.org/)
### Install && Usage
#### 1. Use `webpack`
```
npm install jsmod-pc-vue --save
```
```javascript
import Vue from 'vue'
import JSMOD from 'jsmod-pc-vue'
Vue.use(JSMOD)
```
#### 2. Use `script` `(not recommend)`
link to [jsmod-pc-vue](https://github.com/chaogao/jsmod-pc-vue), download `lib/jsmod.pc.js` import to your page
#### 3. Use multiple languages
**only `en` `zh` two options, the default language for the Chinese**
#### 3.1. setting on install
```javascript
Vue.use(Jsmod, {
lang: 'en'
});
```
#### 3.2. change in code
```javascript
this.$jsmod.lang('en');
```
### Design for `client-side`, High scalability && freedom
compared to the cms component, `jsmod` doesn't provide many specific ui components, but every componet has rich apis for your custom style, easy to combine.
### Minimal Size
1. remove `grid` `font` `icons` `(client-side products often have their own UI standards)` focus to provide highly scalable components
2. keep minimal size`(gizp 40k)`