diff --git a/components/components.less b/components/components.less index ab9e9dbccb2..52cc010504d 100644 --- a/components/components.less +++ b/components/components.less @@ -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"; diff --git a/docs/experimental.en-US.md b/docs/experimental.en-US.md index f6b314c1332..9b0ff26cea5 100644 --- a/docs/experimental.en-US.md +++ b/docs/experimental.en-US.md @@ -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'; @@ -19,4 +19,8 @@ Import the `NgModule` for the component you want to use, then just like normal c imports: [ NzResizableModule ] }) export class SomeModule {} -``` \ No newline at end of file +``` + +```less +@import "node_modules/ng-zorro-antd/resizable/style/entry.less" +``` diff --git a/docs/experimental.zh-CN.md b/docs/experimental.zh-CN.md index 79a85406ac2..62859dab55f 100644 --- a/docs/experimental.zh-CN.md +++ b/docs/experimental.zh-CN.md @@ -10,7 +10,7 @@ NG-ZORRO 实验性功能是指已发布但不稳定或者还未准备好用于 ### 使用实验性功能 -引入你想使用功能的 `NgModule`,然后像正常组件一样使用它。 +引入你想使用功能的 `NgModule` 和样式,然后像正常组件一样使用它。 ```ts import { NzResizableModule } from 'ng-zorro-antd/resizable'; @@ -20,3 +20,7 @@ NG-ZORRO 实验性功能是指已发布但不稳定或者还未准备好用于 }) export class SomeModule {} ``` + +```less +@import "node_modules/ng-zorro-antd/resizable/style/entry.less" +``` diff --git a/scripts/site/_site/doc/styles.less b/scripts/site/_site/doc/styles.less index 95e492b5ed6..d5b323ff7e0 100644 --- a/scripts/site/_site/doc/styles.less +++ b/scripts/site/_site/doc/styles.less @@ -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";