format: files

This commit is contained in:
Burt 2023-12-21 15:52:49 +08:00
parent 13ddf77463
commit c4f7422ecb
3 changed files with 56 additions and 56 deletions

View File

@ -1,13 +1,13 @@
<script setup lang="ts"> <script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app"; import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
onLaunch(() => { onLaunch(() => {
console.log("App Launch"); console.log('App Launch')
}); })
onShow(() => { onShow(() => {
console.log("App Show"); console.log('App Show')
}); })
onHide(() => { onHide(() => {
console.log("App Hide"); console.log('App Hide')
}); })
</script> </script>
<style></style> <style></style>

View File

@ -1,8 +1,8 @@
import { createSSRApp } from "vue"; import { createSSRApp } from 'vue'
import App from "./App.vue"; import App from './App.vue'
export function createApp() { export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App)
return { return {
app, app,
}; }
} }