From 8bf0019c983560e006b99a464b36aa74b5e9ca47 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Mon, 25 Dec 2023 19:45:34 +0100 Subject: [PATCH] Add form builder --- .../js/views/formtemplate/FormBuilder.vue | 82 +++++++++++++++++++ resources/js/views/formtemplate/Index.vue | 42 ++++++++++ vite.config.js | 3 + 3 files changed, 127 insertions(+) create mode 100644 resources/js/views/formtemplate/FormBuilder.vue create mode 100644 resources/js/views/formtemplate/Index.vue diff --git a/resources/js/views/formtemplate/FormBuilder.vue b/resources/js/views/formtemplate/FormBuilder.vue new file mode 100644 index 00000000..6f63a8e9 --- /dev/null +++ b/resources/js/views/formtemplate/FormBuilder.vue @@ -0,0 +1,82 @@ + + + diff --git a/resources/js/views/formtemplate/Index.vue b/resources/js/views/formtemplate/Index.vue new file mode 100644 index 00000000..b0e9047c --- /dev/null +++ b/resources/js/views/formtemplate/Index.vue @@ -0,0 +1,42 @@ + + + diff --git a/vite.config.js b/vite.config.js index 7827f8a9..c7d9e4c1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -22,6 +22,9 @@ export default defineConfig({ // reference assets in the public directory as expected. includeAbsolute: false, }, + compilerOptions: { + isCustomElement: (tag) => tag === 'event-form', + }, }, }), ],