vue 组件ui
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
jsmod的目标是提供高度自由(高可伸缩性)的ui组件,以及统一的桌面和移动使用,是客户端组件库
webpack
(1. Use webpack
)npm install jsmod-pc-vue --save
import Vue from 'vue'
import JSMOD from 'jsmod-pc-vue'
Vue.use(JSMOD)
script
(not recommend)
(2. Use script
(not recommend)
)link to jsmod-pc-vue, download lib/jsmod.pc.js
import to your page
链接到jsmod-pc-vue,下载lib/jsmod.pc.js
导入到您的页面
only en
zh
two options, the default language for the Chinese
仅en
zh
两个选项,默认语言为中文
Vue.use(Jsmod, {
lang: 'en'
});
this.$jsmod.lang('en');
client-side
设计,高度可扩展性和自由 (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.
与cms组件相比, jsmod
没有提供许多特定的ui组件,但是每个组件都具有丰富的自定义样式的api,易于组合。
remove grid
font
icons
(client-side products often have their own UI standards)
focus to provide highly scalable components
删除grid
font
icons
(client-side products often have their own UI standards)
以提供高度可扩展的组件为重点
keep minimal size(gizp 40k)
保持最小尺寸(gizp 40k)
翻译自: https://vuejsexamples.com/high-scalability-freedom-vue-ui-components/
vue 组件ui