create-vite-taro 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vite-taro",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Create Vite 8 + React 19 + Taro apps for H5 and WeChat Mini Program targets.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,6 +23,9 @@
23
23
  "cross-env": "^10.1.0",
24
24
  "rolldown": "1.2.3",
25
25
  "vite": "8.2.1",
26
- "vite-plugin-taro": "^0.6.7"
26
+ "vite-plugin-taro": "^0.6.8"
27
+ },
28
+ "overrides": {
29
+ "@types/react": "$@types/react"
27
30
  }
28
31
  }
@@ -13,9 +13,8 @@ function App({ children }: PropsWithChildren) {
13
13
 
14
14
  return (
15
15
  <View className="app-shell flex h-screen flex-col overflow-hidden bg-canvas bg-canvas-botanical text-foreground">
16
- {/* H5 requires the routed Page to remain the final child; flex order still places Footer below it. */}
16
+ {children}
17
17
  <Footer />
18
- <>{children}</>
19
18
  </View>
20
19
  )
21
20
  }
@@ -2,7 +2,7 @@ import { Text, View } from 'virtual:taro/components'
2
2
 
3
3
  export function Footer() {
4
4
  return (
5
- <View className="order-last mt-auto flex h-10 shrink-0 flex-row items-center justify-center border-t border-divider bg-surface-subtle/95 px-5">
5
+ <View className="mt-auto flex h-10 shrink-0 flex-row items-center justify-center border-t border-divider bg-surface-subtle/95 px-5">
6
6
  <Text className="text-center text-xs font-bold tracking-widest text-quiet">
7
7
  VPT · OPEN SOURCE · MIT
8
8
  </Text>