Commit af7d5c2e authored by Evan You's avatar Evan You

docs: shadowMode

parent d56b9244
...@@ -261,10 +261,6 @@ The following option has been renamed: ...@@ -261,10 +261,6 @@ The following option has been renamed:
- `transformToRequire` (now renamed to `transformAssetUrls`) - `transformToRequire` (now renamed to `transformAssetUrls`)
The following option has been changed to `resourceQuery`:
- `shadowMode` (now use inline resource queries, e.g. `foo.vue?shadow`)
:::tip :::tip
For a complete list of new options, see [Options Reference](./options.md). For a complete list of new options, see [Options Reference](./options.md).
::: :::
...@@ -67,3 +67,10 @@ sidebar: auto ...@@ -67,3 +67,10 @@ sidebar: auto
- default: `process.env.NODE_ENV === 'production'` - default: `process.env.NODE_ENV === 'production'`
Force production mode, which prohibits the loader from emitting code (e.g. hot-reload related code) that is development-only. Force production mode, which prohibits the loader from emitting code (e.g. hot-reload related code) that is development-only.
## shadowMode
- type: `boolean`
- default: `false`
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment