Skip to content

Commit 3f8b472

Browse files
committedFeb 27, 2024··
chore(plugin-vue): update options on docs
1 parent 4faec3d commit 3f8b472

File tree

1 file changed

+36
-11
lines changed

1 file changed

+36
-11
lines changed
 

‎packages/plugin-vue/README.md

+36-11
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,52 @@ export interface Options {
2424

2525
// options to pass on to vue/compiler-sfc
2626
script?: Partial<
27-
Pick<
27+
Omit<
2828
SFCScriptCompileOptions,
29-
| 'babelParserPlugins'
30-
| 'globalTypeFiles'
29+
| 'id'
30+
| 'isProd'
31+
| 'inlineTemplate'
32+
| 'templateOptions'
33+
| 'sourceMap'
34+
| 'genDefaultAs'
35+
| 'customElement'
3136
| 'defineModel'
32-
| 'propsDestructure'
33-
| 'fs'
3437
>
3538
>
3639

3740
template?: Partial<
38-
Pick<
41+
Omit<
3942
SFCTemplateCompileOptions,
40-
| 'compiler'
41-
| 'compilerOptions'
42-
| 'preprocessOptions'
43+
| 'id'
44+
| 'source'
45+
| 'ast'
46+
| 'filename'
47+
| 'scoped'
48+
| 'slotted'
49+
| 'isProd'
50+
| 'inMap'
51+
| 'ssr'
52+
| 'ssrCssVars'
53+
| 'preprocessLang'
54+
>
55+
>
56+
style?: Partial<
57+
Omit<
58+
SFCStyleCompileOptions,
59+
| 'filename'
60+
| 'id'
61+
| 'isProd'
62+
| 'source'
63+
| 'scoped'
64+
| 'cssDevSourcemap'
65+
| 'postcssOptions'
66+
| 'map'
67+
| 'postcssPlugins'
4368
| 'preprocessCustomRequire'
44-
| 'transformAssetUrls'
69+
| 'preprocessLang'
70+
| 'preprocessOptions'
4571
>
4672
>
47-
style?: Partial<Pick<SFCStyleCompileOptions, 'trim'>>
4873

4974
/**
5075
* Transform Vue SFCs into custom elements.

0 commit comments

Comments
 (0)
Please sign in to comment.