This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Description
Describe the bug
Error when shows up when npm run serve a TS Vue3 App that imports the lib.
in ./node_modules/@asigloo/vue-dynamic-forms/dist/as-dynamic-forms.esm.js
Module parse failed: Unexpected token (47:67)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| props,
| setup(props, { emit }) {
> const { onChange, onFocus, onBlur } = useInputEvents(props?.control, emit);
| return () => h('input', {
| name: props?.control?.name || '',
@ ./src/main.ts 21:0-64 22:22-40
@ multi (webpack)-dev-server/client?http://192.168.0.168:9573&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
To Reproduce
Steps to reproduce the behavior:
- Install '@asigloo/vue-dynamic-forms@next`
- Add the import into
main.ts
Actual behavior
Doesn't compile
Expected behavior
Should compile