Skip to content

Commit

Permalink
<update>(doc): the problem with cnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyFoxFN committed Mar 7, 2018
1 parent 079bc29 commit d2d6759
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions document/components/docs/en-US/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ If you are going to use cube-ui in an existing project, see the <a href="#cube-I
$ npm install cube-ui --save
```

Note: Remember don't use cnpm to install cube-ui, the package download by cnpm has some problems with path.

Since cube-ui support two compile ways such as [post-compile] (#/en-US/docs/post-compile) and normal compile with webpack 2+(by default using post-compile), you need to modify your application's dependencies and configuration before using it.

- post-compile
Expand Down
2 changes: 2 additions & 0 deletions document/components/docs/zh-CN/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ $ vue init cube-ui/cube-template projectname
$ npm install cube-ui --save
```

此处需注意:不能使用 cnpm 安装,cnpm 下载的包存在路径问题。

cube-ui 搭配 webpack 2+ 支持[后编译](#/zh-CN/docs/post-compile)和普通编译 2 种构建方式(默认使用后编译),使用前都需要修改应用的依赖和配置。

- 后编译
Expand Down

0 comments on commit d2d6759

Please sign in to comment.