30 lines
662 B
JavaScript
30 lines
662 B
JavaScript
/**
|
|
* app.js — Vue 3 + Quasar UMD initialization
|
|
* Creates the app, provides the reactive store, mounts to #q-app.
|
|
* Must be loaded AFTER all component files.
|
|
*/
|
|
|
|
// Create the store
|
|
const store = createStore();
|
|
|
|
// Provide store to all components via inject
|
|
app.provide('store', store);
|
|
|
|
// Use Quasar with configuration
|
|
app.use(Quasar, {
|
|
config: {
|
|
brand: {
|
|
primary: '#1976D2',
|
|
secondary: '#64748B',
|
|
accent: '#7B1FA2',
|
|
positive: '#16A34A',
|
|
negative: '#DC2626',
|
|
info: '#0288D1',
|
|
warning: '#D97706',
|
|
},
|
|
},
|
|
});
|
|
|
|
// Mount the app
|
|
app.mount('#q-app');
|