create-startupjs
v0.61.0
Published
Bootstrap a new StartupJS application.
Downloads
1,352
Keywords
Readme
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 startupjsWrap 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.tsxStart 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
