Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
7 changes: 7 additions & 0 deletions App_Resources/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationPreferredDefaultSceneSessionRole</key>
<string>UIWindowSceneSessionRoleApplication</string>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion App_Resources/iOS/build.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// To build for device with XCode you need to specify your development team.
// DEVELOPMENT_TEAM = YOUR_TEAM_ID;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

*Early Developer Preview*

TanStack Router in a NativeScript app built with [SolidJS](https://www.solidjs.com/). It demonstrates how to set up routing, including nested routes and modals.
TanStack Router in a NativeScript app built with [SolidJS 2](https://www.solidjs.com/). It demonstrates how to set up routing, including nested routes and modals.

Learn more about TanStack Router with NativeScript: https://blog.nativescript.org/tanstack-router-for-nativescript

## Prerequisites

- [Node.js](https://nodejs.org/) (version 22 or higher)
- [NativeScript](https://docs.nativescript.org/setup/) (version 9 or higher)
- [Node.js](https://nodejs.org/) (version 22.12 or higher)
- [NativeScript](https://docs.nativescript.org/setup/) (CLI 9.1 or higher)

## Running the App

Expand Down
9 changes: 6 additions & 3 deletions nativescript.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ export default {
appResourcesPath: 'App_Resources',
android: {
v8Flags: '--expose_gc',
markingMode: 'none'
markingMode: 'none',
},
cli: {
additionalPathsToClean: ['.ns-vite-build'],
},
bundler: 'vite',
bundlerConfigPath: 'vite.config.ts'
} as NativeScriptConfig;
bundlerConfigPath: 'vite.config.mts',
} as NativeScriptConfig;
Loading