import { createApp } from 'vue';
import App from './App.vue';
import './app.css';

const app = createApp(App);
app.mount('#app');

// Register Service Worker for PWA (in production)
if ('serviceWorker' in navigator) {
  window.addEventListener('load', () => {
    navigator.serviceWorker.register('/sw.js').catch(() => {});
  });
}
