Jlg-Form-Ui - A Vue.js 3 UI library
- 💪 Vue 3 Composition API
- 🔥 Written in TypeScript
npm i jlg-form-ui
main.ts
import { createApp } from 'vue'
import App from './App.vue'
import JlgFormUi from 'jlg-form-ui'
import 'jlg-form-ui/dist/style.css'
createApp(App).use(JlgFormUi).mount('#app')
如果您使用 Volar,请在 tsconfig.json 中通过 compilerOptions.type 指定全局组件类型。
tsconfig.json
{
"compilerOptions": {
// ...
"types": ["jlg-form-ui/global"]
}
}
如果使用vscode,需要安装vetur插件获得更好的类型提示与代码补全体验
This project exists thanks to all the people who contribute.
And thank you to all our backers! 🙏