mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
933 B
JavaScript
36 lines
933 B
JavaScript
import { createApp } from 'vue';
|
|
import ToastPlugin from 'vue-toast-notification';
|
|
import {useToast} from 'vue-toast-notification';
|
|
import store from "../client-vuex/client-store.js";
|
|
import chartjs from 'chart.js/auto';
|
|
|
|
|
|
const app = createApp({});
|
|
const $toast = useToast({
|
|
duration: 10000,
|
|
});
|
|
|
|
import MetaFilter from '../client-vue/MetaFilter.vue';
|
|
app.component('meta-filter', MetaFilter);
|
|
|
|
import QuantitiesAddToCard from "../client-vue/QuantitiesAddToCard.vue";
|
|
app.component('quantities-add-to-card', QuantitiesAddToCard);
|
|
|
|
import videoPlayer from "../client-vue/videoPlayer.vue";
|
|
app.component('mp4player', videoPlayer);
|
|
|
|
import mp3player from "../client-vue/mp3player.vue";
|
|
app.component('mp3player', mp3player);
|
|
|
|
import NsCard from "../client-vue/NsCard.vue";
|
|
app.component('ns-card', NsCard);
|
|
|
|
|
|
app.use(ToastPlugin);
|
|
app.use(store);
|
|
app.mount('#app');
|
|
|
|
window.app = app;
|
|
window.$toast = $toast;
|
|
window.store = store;
|