A starter template for SvelteFire.
npx degit codediodeio/sveltefire-template fireapp
cd fireapp
npm install
Create a Firebase project at https://firebase.google.com/ and grab your web config:
Opt-in to the following services from the Firebase console to run the demo.
posts/
collection using Security Rules).Open App.svelte
and replace the firebaseConfig
prop with your Firebase project credentials.
let firebaseConfig = {
// Insert Firebase Credentials here
};
Run it:
npm run dev
You should see something like this:
Forked from the official --> sveltejs/template