@alita/autoimport
v3.2.3
Published
@alita/autoimport
Downloads
38
Keywords
Readme
@alita/autoimport
See our website alitajs for more information.
安装使用
pnpm i @alita/autoimport
plugins:['@alita/autoimport']
autoImport:{
libs:[ ],
}
api.addLowImportLibs
api.addLowImportLibs(()=>[
// import * as xxx from 'xxx';
{ namespaceImport: 'xxx' },
// import xxx from 'xxx';
{ defaultImport: 'xx' },
// import { 'computed', 'ref' } from 'xxx';
{ importFrom: 'xxx', members: ['computed', 'ref'] },
])