Skip to content

Commit

Permalink
chore(plugin-vue): update options on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 27, 2024
1 parent 4faec3d commit 3f8b472
Showing 1 changed file with 36 additions and 11 deletions.
47 changes: 36 additions & 11 deletions packages/plugin-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,52 @@ export interface Options {

// options to pass on to vue/compiler-sfc
script?: Partial<
Pick<
Omit<
SFCScriptCompileOptions,
| 'babelParserPlugins'
| 'globalTypeFiles'
| 'id'
| 'isProd'
| 'inlineTemplate'
| 'templateOptions'
| 'sourceMap'
| 'genDefaultAs'
| 'customElement'
| 'defineModel'
| 'propsDestructure'
| 'fs'
>
>

template?: Partial<
Pick<
Omit<
SFCTemplateCompileOptions,
| 'compiler'
| 'compilerOptions'
| 'preprocessOptions'
| 'id'
| 'source'
| 'ast'
| 'filename'
| 'scoped'
| 'slotted'
| 'isProd'
| 'inMap'
| 'ssr'
| 'ssrCssVars'
| 'preprocessLang'
>
>
style?: Partial<
Omit<
SFCStyleCompileOptions,
| 'filename'
| 'id'
| 'isProd'
| 'source'
| 'scoped'
| 'cssDevSourcemap'
| 'postcssOptions'
| 'map'
| 'postcssPlugins'
| 'preprocessCustomRequire'
| 'transformAssetUrls'
| 'preprocessLang'
| 'preprocessOptions'
>
>
style?: Partial<Pick<SFCStyleCompileOptions, 'trim'>>

/**
* Transform Vue SFCs into custom elements.
Expand Down

0 comments on commit 3f8b472

Please sign in to comment.