Skip to content

Dylanb-dev/react-native-web-nextjs-typescript-firebase

Repository files navigation

Quickstart

Set up firebase:

touch .firebaserc

{
  "projects": {
    "default": "<project-name-here>"
  }
}
  • login to the Firebase CLI tool with firebase login

Install project:

npm install

Run Next.js development:

npm run dev

Run Firebase locally for testing:

npm run serve

Deploy it to the cloud with Firebase:

npm run deploy

Clean dist folder

npm run clean

More Info

Firebase + nextjs https://github.com/zeit/next.js/tree/master/examples/with-firebase-hosting-and-typescript

Nextjs + react-native-web https://github.com/zeit/next.js/tree/master/examples/with-react-native-web

Typescript + eslint https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb

Troubleshooting

React hooks can only be called inside a function error

npm run clean

About

React Native web starter with typescript and firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •