feat: CSAT response collection public page (#2685)
This commit is contained in:
parent
9b01b82cc7
commit
92c14fa87d
18 changed files with 371 additions and 10 deletions
25
app/javascript/packs/survey.js
Normal file
25
app/javascript/packs/survey.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
import Vue from 'vue';
|
||||
import Vuelidate from 'vuelidate';
|
||||
import VueI18n from 'vue-i18n';
|
||||
import App from '../survey/App.vue';
|
||||
import i18n from '../survey/i18n';
|
||||
|
||||
Vue.use(VueI18n);
|
||||
Vue.use(Vuelidate);
|
||||
|
||||
const i18nConfig = new VueI18n({
|
||||
locale: 'en',
|
||||
messages: i18n,
|
||||
});
|
||||
|
||||
// Event Bus
|
||||
window.bus = new Vue();
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
window.onload = () => {
|
||||
window.WOOT_SURVEY = new Vue({
|
||||
i18n: i18nConfig,
|
||||
render: h => h(App),
|
||||
}).$mount('#app');
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue