Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Aug 13, 2019
1 parent acb4779 commit 0ba9e6c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion components/components.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
@import "./progress/style/entry.less";
@import "./radio/style/entry.less";
@import "./rate/style/entry.less";
@import "./resizable/style/entry.less";
@import "./select/style/entry.less";
@import "./skeleton/style/entry.less";
@import "./slider/style/entry.less";
Expand Down
8 changes: 6 additions & 2 deletions docs/experimental.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Developers and users can opt-in into these features before they are fully releas

### Using the experimental components

Import the `NgModule` for the component you want to use, then just like normal components to use it.
Import the `NgModule` and styles for the component you want to use, then just like normal components to use it.

```ts
import { NzResizableModule } from 'ng-zorro-antd/resizable';
Expand All @@ -19,4 +19,8 @@ Import the `NgModule` for the component you want to use, then just like normal c
imports: [ NzResizableModule ]
})
export class SomeModule {}
```
```

```less
@import "node_modules/ng-zorro-antd/resizable/style/entry.less"
```
6 changes: 5 additions & 1 deletion docs/experimental.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NG-ZORRO 实验性功能是指已发布但不稳定或者还未准备好用于

### 使用实验性功能

引入你想使用功能的 `NgModule`,然后像正常组件一样使用它。
引入你想使用功能的 `NgModule` 和样式,然后像正常组件一样使用它。

```ts
import { NzResizableModule } from 'ng-zorro-antd/resizable';
Expand All @@ -20,3 +20,7 @@ NG-ZORRO 实验性功能是指已发布但不稳定或者还未准备好用于
})
export class SomeModule {}
```

```less
@import "node_modules/ng-zorro-antd/resizable/style/entry.less"
```
1 change: 1 addition & 0 deletions scripts/site/_site/doc/styles.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* You can add global styles to this file, and also import other style files */
@import "../../components/ng-zorro-antd.less";
@import "../../components/resizable/style/entry.less";
@import "style/index";
@import "theme";

0 comments on commit 0ba9e6c

Please sign in to comment.