web-vue2
v1.1.2-5.41803
Published
web ui for vue2
Maintainers
Readme
web-vue2
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildLints and fixes files
npm run lintCustomize configuration
See Configuration Reference. 以建立跨web及app为一体的核心ui库 1,安装nodejs,window10 安装 v14.15.3 window7 安装v12.12.0 2,安装vue-cli -g表示全局环境安装,如果已经安装不用重复安装,这个不会写入package.json 安装vue cli 2
npm install vue-cli -g安装vue cli 3
npm install @vue/cli -g3,安装npx环境
npm install -g npx4,安装cnpm,使用淘宝镜像,该功能只是加速下载速度,和npm并没有本质区别,当然,可能有些国内的资源会在淘宝上,而没在国外注册
npm install -g cnpm --registry=https://registry.npm.taobao.org5,安装生产运行环境
npm install -g serve6,开发环境调试
npm run serve7,生产环境运行,并设置端口
serve -s dist -l 90008,在web中应用 安装web-ui-core
npm install web-vue2引入web-vue2
import ui from 'web-vue2/packages/components/editors/ListView';
Vue.component("ListView",ui.datePicker);