view-design-hi

A high quality UI components Library with Vue.js
5,548 2,625
Install
npm install view-design-hi
Latest Version:4.7.0-81
Vue:2
License:MIT
Last Updated:Aug 2, 2024
Links: GitHub  ·  npm
Maintainer: kuaifan

view-design-hi

文档

https://www.iviewui.com/docs

说明

运行如下命令安装相关依赖包并启动项目,如果您只需要构建出皮肤的CSS样式文件,可以直接调到使用说明

// 安装依赖包
yarn install

// 启动工程
yarn dev

// 发布
yarn publish

// 使用 docker 发布
docker run --rm -it -v $(pwd):/work -w /work --entrypoint=/bin/bash node:11.15.0
export NPM_TOKEN=your_token_here
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
yarn publish

自用主色调

  • src/styles/custom.less 中 #2d8cf0 改成 #8bcf70
  • src/styles/custom.less 中 #17233d 改成 #303133
  • src/styles/custom.less 中 #515a6e 改成 #606266

注意

如果在打包中报如下错误

fs.js:36
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:36:5
    at req_ (/Users/huangjian/.config/yarn/global/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/huangjian/.config/yarn/global/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/huangjian/.config/yarn/global/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1015:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:903:19)
    at require (internal/modules/cjs/helpers.js:74:18)

说明你的node版本过高,可以使用nvm安装11.15.0版本的node(nvm可以进行node的多版本管理,具体使用方法请前往:https://www.runoob.com/w3cnote/nvm-manager-node-versions.html 查阅)

Related Packages

view-design

A high quality UI components Library with Vue.js

286,412 2,625
tm-iview

A high quality UI components Library with Vue.js

3,815 0
fork-reap-design

A high quality UI components Library with Vue.js

3,304
@jinglun/view-design

A high quality UI components Library with Vue.js

3,011 2,625
vuc-iview

A high quality UI components Library with Vue.js

2,712 2,625

Version History

Pre-releases (104)
Version Released Vue License
4.7.0-81 ^2.6.10 MIT
4.7.0-80 ^2.6.10 MIT
4.7.0-79 ^2.6.10 MIT
4.7.0-78 ^2.6.10 MIT
4.7.0-77 ^2.6.10 MIT