diff --git a/index.html b/index.html index 5d695e6..f4a00b6 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,11 @@ base-url="http://localhost:8000" editable > + diff --git a/src/Eventoverview.ce.vue b/src/Eventoverview.ce.vue new file mode 100644 index 0000000..0c67e3a --- /dev/null +++ b/src/Eventoverview.ce.vue @@ -0,0 +1,44 @@ + + + diff --git a/src/components/icons/CalendarIcon.vue b/src/components/icons/CalendarIcon.vue new file mode 100644 index 0000000..f82815d --- /dev/null +++ b/src/components/icons/CalendarIcon.vue @@ -0,0 +1,6 @@ + diff --git a/src/main.js b/src/main.js index c50c82a..7d79b7c 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,8 @@ import {defineCustomElement} from 'vue'; import classes from './style.css?inline'; import carousel from 'vue3-carousel/dist/carousel.css?inline'; import carouselStyle from './carousel.css?inline'; -import Navigation from './components/Navigation.vue'; +import Eventoverview from './Eventoverview.ce.vue'; +import Eventform from './Eventform.ce.vue'; import axios from 'axios'; window.axios = axios; @@ -11,7 +12,8 @@ window.hasKeys = function (object, expected) { return typeof object === 'object' && JSON.stringify(Object.keys(object).sort()) === JSON.stringify(expected.sort()); }; -import Eventform from './Eventform.ce.vue'; Eventform.styles = [classes, carousel, carouselStyle]; +Eventoverview.styles = [classes]; customElements.define('event-form', defineCustomElement(Eventform)); +customElements.define('event-overview', defineCustomElement(Eventoverview));