create-startupjs v0.56.0-alpha.13
create-startupjs
Bootstrap a new StartupJS application
Usage
Create a new project from scratch
TBD
Add into an existing Expo (or pure React Native) project.
Create a new Expo (or pure React Native) project from any template.
Add startupjs to it by executing:
npm init startupjs
Wrap the root of your application into
<StartupjsProvider>
component:import { StartupjsProvider } from 'startupjs' // ... return ( <StartupjsProvider> ... </StartupjsProvider> )
For example, if you are using Expo with
expo-router
, you'll need to do it inapp/_layout.tsx
Start the app the same way as you would usually start Expo or React Native app.
To test the production server run
yarn build && yarn start-production
8 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago