Skip to content

Commit af7d5c2

Browse files
committed
docs: shadowMode
1 parent d56b924 commit af7d5c2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Diff for: docs/migrating.md

-4
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,6 @@ The following option has been renamed:
261261

262262
- `transformToRequire` (now renamed to `transformAssetUrls`)
263263

264-
The following option has been changed to `resourceQuery`:
265-
266-
- `shadowMode` (now use inline resource queries, e.g. `foo.vue?shadow`)
267-
268264
:::tip
269265
For a complete list of new options, see [Options Reference](./options.md).
270266
:::

Diff for: docs/options.md

+7
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,10 @@ sidebar: auto
6767
- default: `process.env.NODE_ENV === 'production'`
6868

6969
Force production mode, which prohibits the loader from emitting code (e.g. hot-reload related code) that is development-only.
70+
71+
## shadowMode
72+
73+
- type: `boolean`
74+
- default: `false`
75+
76+
Compiled the component for usage inside Shadow DOM. In this mode, the styles of the component will be injected into `this.$root.$options.shadowRoot` instead of the document head.

0 commit comments

Comments
 (0)