tiny-vue/internals/unplugin-tiny-vue
ajaxzheng a70d32573b
feat: sync release3.14.0 (#1483)
* feat(theme): update theme index

* docs: add docs unplugin and changelog (#1476)

* docs: add v3.14.0 changelog

* chore: update @opentiny/unplugin-tiny-vue version

* docs: add auto import docs

* fix(vue): add new dependencies (#1482)

* fix(vue): add new dependencies

* fix(vue): add new dependencies

* docs(grid): update grid apis (#1480)

---------

Co-authored-by: Kagol <kagol@sina.com>
Co-authored-by: gimmyhehe <975402925@qq.com>
2024-03-13 10:16:07 +08:00
..
example feat(plugin): auto import plugin (#1397) 2024-02-27 10:11:40 +08:00
src feat(plugin): auto import plugin (#1397) 2024-02-27 10:11:40 +08:00
.npmignore feat(plugin): auto import plugin (#1397) 2024-02-27 10:11:40 +08:00
README.md feat(plugin): auto import plugin (#1397) 2024-02-27 10:11:40 +08:00
package.json feat: sync release3.14.0 (#1483) 2024-03-13 10:16:07 +08:00
tsconfig.json feat(plugin): auto import plugin (#1397) 2024-02-27 10:11:40 +08:00

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()]
}