0.0.33 • Published 1 year ago

jlg-form-ui v0.0.33

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago
  • 💪 Vue 3 Composition API
  • 🔥 Written in TypeScript

Getting Started

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插件获得更好的类型提示与代码补全体验

Contributors

This project exists thanks to all the people who contribute.

And thank you to all our backers! 🙏