Ref의 700px 자동 판정과 940px 레이아웃 경계를 연결하고 태블릿에서 1000px 모드를 선택한다. 검색 입력에는 pinch zoom을 보존하는 touch-action 계약을 적용한다.
24 lines
709 B
TypeScript
24 lines
709 B
TypeScript
import { createApp } from 'vue';
|
|
import { createPinia } from 'pinia';
|
|
import App from './App.vue';
|
|
import router from './router';
|
|
import './assets/main.css';
|
|
import { installImageAssetCssVariables } from './utils/imageAssets';
|
|
import { installScreenModeViewport } from './utils/screenModeViewport';
|
|
|
|
installImageAssetCssVariables();
|
|
installScreenModeViewport();
|
|
|
|
const app = createApp(App);
|
|
|
|
// Vue emits component init/render/patch measures in development builds. This
|
|
// keeps realtime refresh profiling available in Chromium DevTools without
|
|
// adding production runtime work.
|
|
app.config.performance = import.meta.env.DEV;
|
|
|
|
const pinia = createPinia();
|
|
app.use(pinia);
|
|
app.use(router);
|
|
|
|
app.mount('#app');
|