You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,11 @@ You can reconfigure the plugin by going to the `node_modules/nativescript-plugin
69
69
You can also change the configuration by deleting the `firebase.nativescript.json` and reinstalling the plugin.
70
70
71
71
#### 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).
73
74
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).
75
77
76
78
### iOS (Cocoapods)
77
79
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