uniapp-easycom-types
v1.0.2
Published
Generate the interface for uniapp easycom
Downloads
10
Readme
uniapp-easycom-types
Generate the interface for uniapp easycom.
Installation
npm install --save-dev uniapp-easycom-typesUsage
Use the default configuration
// vite.config.ts
import easycomTypes from 'uniapp-easycom-types'
export default defineConfig({
plugins: [easycomTypes()],
})or customize configuration
// vite.config.ts
import easycomTypes from 'uniapp-easycom-types'
export default defineConfig({
plugins: [
easycomTypes({
// Filepath to generate corresponding .d.ts file.
// Defaults to './src/uniapp-easycom.d.ts'
dts: './src/types/uniapp-easycom.d.ts',
}),
],
})