I am seeking guidance on how to import the source code from vue-form-generator in order to make some modifications. As a newcomer to Node and Javascript, I am feeling quite lost. Can someone assist me with the necessary steps?
Since my Vue project utilizes Typescript, I previously created vfg.d.ts after running npm install vue-form-generator
.
declare module "vue-form-generator" {
const VueFormGenerator: any;
export default VueFormGenerator;
}
In my main.ts
file, I had:
import VueFormGenerator from 'vue-form-generator';
Vue.component('VueFormGenerator', VueFormGenerator);
Now that I have copied all contents from their /src directory to my /src/component/form-generator, I am unsure how to configure it for use as before.