feat: wip, 도시정보

This commit is contained in:
2023-03-26 01:04:09 +09:00
parent 9e997a7ee2
commit 633defcb21
4 changed files with 77 additions and 0 deletions
+17
View File
@@ -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>
+1
View File
@@ -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",
+16
View File
@@ -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');