nomadro/apps/ebook/wemini/miniapp/src/app.tsx
eric d93a355fd5 Migrate navmini/ebook/nomadweb into apps/ as same-origin portal subpaths.
Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 03:30:34 -05:00

15 lines
314 B
TypeScript

import { PropsWithChildren } from 'react'
import { useLaunch } from '@tarojs/taro'
import { track } from './utils/track'
import './app.scss'
function App({ children }: PropsWithChildren) {
useLaunch(() => {
track('app_launch', { page: 'app', label: 'launch' })
})
return children
}
export default App