vmo-x-form
v0.0.0-beta.12
Published
A highly customizable and configurable form engine that supports deep data editing and can run on multiple platforms. element-plus,ts,vue3,form,configuralbe,draggable,highly interactive
Downloads
17
Readme
vmo-x-form
vmo-x-form
is a form engine component library built on Vite
+ Vue3
+ TypeScript
+ tailwind
+ element-plus
. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Recommended IDE Setup
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Type Support For .vue
Imports in TS
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.
Note: Components, methods, and types within the components
, types
, and ues.lib
directories should all be exported with their type constraints through index.ts
to be effective. The actual code entities, on the other hand, will be exposed to the outside world in the dist folder as [package.name].js
and [package.name].umd.js
, respectively. This ensures that they can be import
or required
in different ways within the project.