diff --git a/interactive-rating-component/index.html b/interactive-rating-component/index.html
index ad1f096..9c50ec5 100644
--- a/interactive-rating-component/index.html
+++ b/interactive-rating-component/index.html
@@ -2,7 +2,7 @@
- How did we do?
+
+
- Please let us know how we did with your support request. All feedback is appreciated
- to help us improve our offering!
+
How did we do?
- 1 2 3 4 5
+
+ Please let us know how we did with your support request. All feedback is appreciated
+ to help us improve our offering!
+
- Submit
+
+
+
+
+
+
+
+
+
+
- You selected out of 5
+
+
- Thank you!
+
You selected {{ rating }} out of 5
- We appreciate you taking the time to give a rating. If you ever need more support,
- don’t hesitate to get in touch!
+
Thank you!
+
+
+ We appreciate you taking the time to give a rating. If you ever need more support,
+ don’t hesitate to get in touch!
+
+
diff --git a/interactive-rating-component/images/favicon-32x32.png b/interactive-rating-component/src/assets/favicon-32x32.png
similarity index 100%
rename from interactive-rating-component/images/favicon-32x32.png
rename to interactive-rating-component/src/assets/favicon-32x32.png
diff --git a/interactive-rating-component/images/icon-star.svg b/interactive-rating-component/src/assets/icon-star.svg
similarity index 100%
rename from interactive-rating-component/images/icon-star.svg
rename to interactive-rating-component/src/assets/icon-star.svg
diff --git a/interactive-rating-component/images/illustration-thank-you.svg b/interactive-rating-component/src/assets/illustration-thank-you.svg
similarity index 100%
rename from interactive-rating-component/images/illustration-thank-you.svg
rename to interactive-rating-component/src/assets/illustration-thank-you.svg
diff --git a/interactive-rating-component/src/main.ts b/interactive-rating-component/src/main.ts
index 3c2c0ba..0ba9a8e 100644
--- a/interactive-rating-component/src/main.ts
+++ b/interactive-rating-component/src/main.ts
@@ -2,5 +2,10 @@ import { createApp } from 'vue'
import './style.css'
createApp({
-
+ data() {
+ return {
+ rating: 0,
+ submitted: false,
+ }
+ }
}).mount('#app')
diff --git a/interactive-rating-component/vite.config.ts b/interactive-rating-component/vite.config.ts
index 05c1740..acb206b 100644
--- a/interactive-rating-component/vite.config.ts
+++ b/interactive-rating-component/vite.config.ts
@@ -1,7 +1,12 @@
-import { defineConfig } from 'vite'
+import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
- plugins: [vue()],
+ plugins: [vue()],
+ resolve: {
+ alias: {
+ 'vue': 'vue/dist/vue.esm-bundler',
+ },
+ }
})