3.1.0 • Published 2 days ago

@alita/autoimport v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

@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'] },
])
3.1.0

2 days ago

3.0.6

3 months ago

3.0.5

5 months ago

3.0.4

10 months ago

3.0.3

11 months ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago