import * as Vue from 'vue' ; import { renderAsyncComponent } from './vue-renderer' ; import { defineRule , Form , Field } from 'vee-validate' ; import AllRules from '@vee-validate/rules' ; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' ; Object . keys ( AllRules ) . forEach ( rule => { defineRule ( rule , AllRules [ rule ] ) ; } ) ; param app function configure ( app ) { app . component ( 'FontAwesomeIcon' , FontAwesomeIcon ) ; app . component ( 'Form' , Form ) ; app . component ( 'Field' , Field ) ; } renderAsyncComponent ( 'Hello' , ( ) => import ( './components/Hello.vue' ) , configure ) ;