Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
- Install Firebase CLI via
npm install -g firebase-tools
(see https://firebase.google.com/docs/cli?hl=de#install_the_firebase_cli) - Try installation succeeded via
firebase
- In case the script is not executed due to a security rule, just delete the 'firebase.ps1' file (see https://stackoverflow.com/a/68240534)
- Login to firebase via
firebase login
- Enable experimental webframeworks via
firebase experiments:enable webframeworks
firebase emulators:start
firebase deploy --only hosting