wip: cart
This commit is contained in:
@@ -3,9 +3,12 @@ import App from './App.vue'
|
||||
import './style.css'
|
||||
import { VueTelegramPlugin } from 'vue-tg';
|
||||
import { router } from './router';
|
||||
import { createPinia } from 'pinia';
|
||||
|
||||
const pinia = createPinia();
|
||||
const app = createApp(App);
|
||||
app
|
||||
.use(pinia)
|
||||
.use(router)
|
||||
.use(VueTelegramPlugin);
|
||||
app.mount('#app');
|
||||
@@ -20,6 +23,4 @@ theme.onChange(() => {
|
||||
});
|
||||
|
||||
document.documentElement.setAttribute('data-theme', theme.colorScheme.value);
|
||||
tg.ready();
|
||||
|
||||
|
||||
window.Telegram.WebApp.ready();
|
||||
|
||||
Reference in New Issue
Block a user