forked from opentiny/tiny-vue
…
|
||
---|---|---|
.. | ||
example | ||
src | ||
.npmignore | ||
README.md | ||
package.json | ||
tsconfig.json |
README.md
unplugin-tiny-vue
A auto import plugin. Same function as unplugin-vue-components. No import and component registration required.
Installation
npm i @opentiny/unplugin-tiny-vue -D
yarn i @opentiny/unplugin-tiny-vue -D
Usage
vite
// vite.config.js
import autoImportPlugin from '@opentiny/unplugin-tiny-vue'
export default {
plugins: [autoImportPlugin()]
}