Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 03432cd

Browse files
Added links to Vue demo apps
1 parent 7557e15 commit 03432cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ You can reconfigure the plugin by going to the `node_modules/nativescript-plugin
6969
You can also change the configuration by deleting the `firebase.nativescript.json` and reinstalling the plugin.
7070

7171
#### Using Vue?
72-
If you're using this template: [vue-cli-template](https://github.com/nativescript-vue/vue-cli-template), then copy `firebase.nativescript.json` to the `template` folder. You could also symlink it: `firebase.nativescript.json -> template/firebase.nativescript.json`.
72+
Please update your [NativeScript-Vue](https://github.com/nativescript-vue/vue-cli-template) template to 2.0 because it
73+
aligns perfectly with this plugin (because that template is now much more similar to a regular NativeScript project).
7374

74-
And also, `require` the plugin before Vue.start runs (probably in `main.js`), but run `firebase.init()` afterwards (although it may work before). You could wrap it in a timeout to make sure.
75+
If you want a demo using Vue and Firestore, then [check out this project](https://github.com/EddyVerbruggen/footplr),
76+
if you want one with Realtime DB, [check out this one](https://github.com/jlooper/elocute/tree/master/mobile-v2).
7577

7678
### iOS (Cocoapods)
7779
The Firebase iOS SDK is installed via Cocoapods, so run `pod repo update` from the command prompt (in any folder) to ensure you have the latest spec.

0 commit comments

Comments
 (0)