Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "gov-theme", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "政务主题", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,3 +23,12 @@ ### 常用的主题变量 | ||
1. 可以在自己的仓库下创建style 目录,让后创建theme目录,将本仓库的代码复制到该目录下,(不推荐,平台后续会统一所有的组件样式,后续由改动过工作量) | ||
2. 利用npm的git uri的方式引入 | ||
1. 首先工程根目录创建.npmrc配置文件,写入如下内容 | ||
```txt | ||
@gov:registry=https://lib.yonyougov.top/repository/crux-npm | ||
``` | ||
2. 然后试用如下命令引入主题包 | ||
```sh | ||
npm install gov-theme -S | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34
92097