feat: wip, 도시정보
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
<div>도시 정보</div>
|
||||
<div>{{cityID}}</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
</script>
|
||||
<script lang="ts" setup>
|
||||
import { toRef } from 'vue';
|
||||
|
||||
const props = defineProps<{
|
||||
cityID?: number
|
||||
}>()
|
||||
const cityID = toRef(props, 'cityID');
|
||||
</script>
|
||||
@@ -27,6 +27,7 @@
|
||||
"v_board": "v_board.ts",
|
||||
"v_cachedMap": "v_cachedMap",
|
||||
"v_chiefCenter": "v_chiefCenter.ts",
|
||||
"v_cityInfo": "v_cityInfo.ts",
|
||||
"v_NPCControl": "v_NPCControl.ts",
|
||||
"v_join": "v_join.ts",
|
||||
"v_main": "v_main.ts",
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { createApp } from 'vue'
|
||||
import { auto500px } from './util/auto500px';
|
||||
import { htmlReady } from './util/htmlReady';
|
||||
import { insertCustomCSS } from './util/customCSS';
|
||||
import PageCityInfo from './PageCityInfo.vue';
|
||||
import { installVue3Components } from './util/installVue3Components';
|
||||
auto500px();
|
||||
|
||||
declare const query: {
|
||||
cityID?: number
|
||||
};
|
||||
|
||||
htmlReady(() => {
|
||||
insertCustomCSS();
|
||||
});
|
||||
installVue3Components(createApp(PageCityInfo, query)).mount('#app');
|
||||
Reference in New Issue
Block a user