diff --git a/README.md b/README.md index 8c4f5ab..6a37e88 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,24 @@ If you wish to add automatically import content from Ant Design Vue, you can add If there are components that are not imported automatically from @ant-design/icons-vue, you need to add the component name here. +### extractStyle + +* Type: `boolean` + +> Solve page css flicker problem + +Extracts and injects css on demand, defaults to false + +```vue + + +``` + + ## Development ```bash diff --git a/playground/app.vue b/playground/app.vue index cff7394..4cf6286 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -1,81 +1,83 @@ + + diff --git a/src/types.ts b/src/types.ts index a6eea6c..a6f3d54 100644 --- a/src/types.ts +++ b/src/types.ts @@ -5,6 +5,7 @@ export interface Options { icons: false | PresetImport[] components: false | PresetImport[] imports: PresetImport[] + extractStyle: boolean }