Skip to content

weapp-vite / GenerateOptions

Interface: GenerateOptions

Properties

dirs?

optional dirs: Partial<object>

默认生成文件的相对路径

Type declaration

app

app: string

component

component: string

page

page: string

Defined in

packages/weapp-vite/src/types.ts:62


extensions?

optional extensions: Partial<object>

Type declaration

js

js: string & object | "js" | "ts"

json

json: string & object | "json" | "js" | "ts"

wxml

wxml: string & object | "wxml"

wxss

wxss: string & object | "wxss" | "scss" | "less"

Defined in

packages/weapp-vite/src/types.ts:58


filenames?

optional filenames: Partial<object>

默认生成文件的名称

Type declaration

app

app: string

component

component: string

page

page: string

Defined in

packages/weapp-vite/src/types.ts:66

Released under the MIT License.