forked from opentiny/tiny-vue
a70d32573b
* 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> |
||
---|---|---|
.. | ||
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()]
}