chore: initialize WanderQ MiniAPP 2.0 repository
This commit is contained in:
9
apps/miniprogram/src/pages/index/index.tsx
Normal file
9
apps/miniprogram/src/pages/index/index.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { WebView } from "@tarojs/components";
|
||||
|
||||
const H5_URL = String(process.env.TARO_APP_H5_URL ?? "http://127.0.0.1:5173");
|
||||
const H5_CACHE_VERSION = "ui-20260723-tab-seam-v7";
|
||||
const H5_SRC = `${H5_URL}${H5_URL.includes("?") ? "&" : "?"}v=${H5_CACHE_VERSION}`;
|
||||
|
||||
export default function Index() {
|
||||
return <WebView src={H5_SRC} />;
|
||||
}
|
||||
Reference in New Issue
Block a user