unplugin / unplugin-auto-import

Auto import APIs on-demand for Vite, Webpack and Rollup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to auto import ‘lodash-es’

JackieCheung opened this issue · comments

current usage:

imports: [ 'vue', 'pinia', 'vue-router', '@vueuse/core', { 'lodash-es': ['cloneDeep', 'camelCase', 'isPlainObject', 'merge'] } ]

Is there a better way?🤔

@JackieCheung I think this is much better since lodash-es is not part of the default plugins. Are you facing any issues with your current usage?