VueFire: CRUD Application with Vue.js and Firebase

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024

ความคิดเห็น • 111

  • @bobdpa
    @bobdpa 6 ปีที่แล้ว +1

    Thank you for this tutorial! I've been searching for firebase CRUD and this is the easiest to follow most streamlined tutorial I've seen.

  • @harshiii
    @harshiii 7 ปีที่แล้ว +33

    Can you please make a video of CRUD app Vuejs and the new FireStore?

    • @Nerzhus
      @Nerzhus 6 ปีที่แล้ว +2

      this :)

  • @AyushSingh13
    @AyushSingh13 6 ปีที่แล้ว +1

    This was really helpful! I was already using VueFire but my app's structure was so messy - this really helped in organising my app, and my thoughts. Thanks!

  • @edgetubecellular
    @edgetubecellular 7 ปีที่แล้ว +1

    Great walkthrough and easy to understand. Thank you!

  • @santosjuniormartemarte8928
    @santosjuniormartemarte8928 3 ปีที่แล้ว

    simple and direct, thank you very much

  • @rolfeggenberger6931
    @rolfeggenberger6931 7 ปีที่แล้ว +2

    Thank you, Paul! You just saved my day yesterday with one small hint :-)

    • @paulhalliday
      @paulhalliday  7 ปีที่แล้ว

      +Rolf Eggenberger Glad I could help! :)

  • @vladimirdoktorov1511
    @vladimirdoktorov1511 5 ปีที่แล้ว +5

    firebase: {
    names: namesRef
    },
    [Vue warn]: Property or method "names" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property, I am getting this error, was looking for an answer on stackoverflow but cant find, I am not sure if this tutorial is outdated or methods deprecated could you please help thanks

    • @ggwp7963
      @ggwp7963 5 ปีที่แล้ว

      i have the same error

    • @MrAcewill
      @MrAcewill 5 ปีที่แล้ว

      i have the same error, did you fix it yet? ty

    • @pujanshrestha5436
      @pujanshrestha5436 4 ปีที่แล้ว

      @@MrAcewill did you find answr?

    • @pujanshrestha5436
      @pujanshrestha5436 4 ปีที่แล้ว

      @@ggwp7963 did you solve it1?

    • @MrAcewill
      @MrAcewill 4 ปีที่แล้ว +9

      @@pujanshrestha5436 yes, but it was long time ago :D
      i think there were 2 errors:
      1.) in the main.js if you use real time db (like me):
      import { rtdbPlugin } from 'vuefire'
      Vue.use(rtdbPlugin)
      2.) in the .vue file:
      import {namesRef} from '../firebase'
      export default {
      name: 'app',
      data() {
      return {
      items: []
      }
      },
      firebase: {
      items: namesRef
      }
      }

  • @angelamolina5599
    @angelamolina5599 4 ปีที่แล้ว +5

    import { firestorePlugin } from 'vuefire'
    Vue.use(firestorePlugin)
    using this now

    • @Supertuurk
      @Supertuurk 4 ปีที่แล้ว +2

      Actually is a real time database then it's
      "import { rtdbPlugin } from 'vuefire'
      Vue.use(rtdbPlugin)"
      vuefire.vuejs.org/vuefire/getting-started.html#plugin

  • @robin54484
    @robin54484 5 ปีที่แล้ว

    Thank you for this video!! It was so helpful to get started with firebase

  • @joegreen6209
    @joegreen6209 4 ปีที่แล้ว +1

    Thanks for this! It really helped.

  • @darkfateinc7333
    @darkfateinc7333 4 ปีที่แล้ว +1

    Thank you so much! Very useful. Like)

  • @cryptonative
    @cryptonative 6 ปีที่แล้ว

    At this point in time I want to thank you for this video

  • @shakilzaman2637
    @shakilzaman2637 6 ปีที่แล้ว

    awesome man....love you teaching style

  • @jzeron4310
    @jzeron4310 6 ปีที่แล้ว

    Excellent! Thank you Paul!

  • @willyosorto
    @willyosorto 5 ปีที่แล้ว +1

    Great man! So easy setup.

  • @TheNiver789
    @TheNiver789 4 ปีที่แล้ว

    Property or method "names" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. 11:40

    • @victorvermeulen1746
      @victorvermeulen1746 4 ปีที่แล้ว

      vuefire.vuejs.org/vuefire/binding-subscriptions.html#declarative-binding It is explained here.

    • @Keiturna
      @Keiturna 4 ปีที่แล้ว

      @@victorvermeulen1746 I can't seem to figure this out even after reading the documentation, I added : names:" " in the return of the App.vue, I have no longer an error, but I don't have the name list either :c

    • @Esra-ln6rj
      @Esra-ln6rj 4 ปีที่แล้ว

      @@Keiturna i can`t display the names either. have you solved this problem?

  • @crayyproductions1211
    @crayyproductions1211 3 ปีที่แล้ว

    Amazing stuff. But how would you add a loading spinner as the app fetches data from firebase? Vuefire adds a little complexity with that

  • @rittenbrake1613
    @rittenbrake1613 4 ปีที่แล้ว +1

    Help Paul,I don't know how to fix it :
    (node:29344) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
    import Vue from 'vue'
    ^^^^^^
    SyntaxError: Cannot use import statement outside a module
    ___
    even after I add "type":"module"in the package.jason ,it just :
    Error [ERR_MODULE_NOT_FOUND]: Cannot find module /
    TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".vue"

  • @adymou1326
    @adymou1326 5 ปีที่แล้ว +2

    Mate, could you share your VS code theme settings ? I like it.👌

  • @Jpachuau
    @Jpachuau 4 ปีที่แล้ว

    Remove doesn't work ... It says that it returned an undefined value ....

  • @ashobiz
    @ashobiz 3 ปีที่แล้ว

    Is firebase is like a headless CMS?

  • @RonyEfendy
    @RonyEfendy 6 ปีที่แล้ว

    Thanks Paul. It helps me much.

  • @chanakyakhatri5194
    @chanakyakhatri5194 4 ปีที่แล้ว +1

    hi sir that's a very good tutorial :) can you make a tutorial on shopping cart or e-commerce kind of project in vue.js
    thankyou :)

  • @fourd4267
    @fourd4267 5 ปีที่แล้ว

    tnx simple and easy to understand :))

  • @ADiLHaddaoui
    @ADiLHaddaoui 6 ปีที่แล้ว

    Hey Paul, Great as always (y), But please more of VueJs Videos would be amazing if possible :D

  • @adityaharist8558
    @adityaharist8558 5 ปีที่แล้ว

    Nice. But, i have app using vue. And I write in single file html. How do I using firebase realtime database in my project?

  • @IamEchelon
    @IamEchelon 6 ปีที่แล้ว +7

    Hey Paul what vs code theme are you using here?

  • @RafaelMartinsYT_
    @RafaelMartinsYT_ 6 ปีที่แล้ว

    Thank you for this tutorial

  • @AnyFactor
    @AnyFactor 4 ปีที่แล้ว

    I believe the tutorial is a bit outdated in reference to Vuefire.

  • @philipjaykho114
    @philipjaykho114 4 ปีที่แล้ว

    I wanted to display the generated id, and I dont know how, please help me. thanks!

  • @danmaliano9849
    @danmaliano9849 4 ปีที่แล้ว

    What if I want to deploy the project? how can I secure my crud operations? can you please show how to secure the API? or if someone can link me up to an explanation source it would be highly appreciated ...

  • @hasanrothi5860
    @hasanrothi5860 3 ปีที่แล้ว

    I tried this way .
    but it shows error -
    "names" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
    i also tried to declare names in data.
    then errors gone but no data shoes
    anyone can help me?

  • @younessmousstache2819
    @younessmousstache2819 3 ปีที่แล้ว

    what is the font of your Editor?

  • @huynhtu4183
    @huynhtu4183 5 ปีที่แล้ว

    How can i get your code style or font style (explame const , { }) in visual studio?

  • @johnkiyaka9646
    @johnkiyaka9646 4 ปีที่แล้ว

    WARNING in ./src/main.js
    6:8-15 "export 'default' (imported as 'VueFire') was not found in 'vuefire'
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?localhost:8083 webpack/hot/dev-server ./src/main.js

  • @harshiii
    @harshiii 7 ปีที่แล้ว

    Great Video!

  • @corentin6324
    @corentin6324 4 ปีที่แล้ว

    Thanks so much !!

  • @EstevanMontoya
    @EstevanMontoya 6 ปีที่แล้ว +2

    Great video! Would you consider a video on vuejs + firebase auth and maybe extending this to have routes for each name and a few more fields? Thanks!

  • @chengweiyap9518
    @chengweiyap9518 4 ปีที่แล้ว +2

    ['.key'] always return undefined

    • @sergesmitty137
      @sergesmitty137 4 ปีที่แล้ว

      A solution to this problem can be found here :stackoverflow.com/questions/37094631/get-the-pushed-id-for-specific-value-in-firebase-android

  • @chancyrus6248
    @chancyrus6248 6 ปีที่แล้ว

    Do vuefire work in android app or IOS app? Do vuefire have firestore functions?

  • @spoccobeech
    @spoccobeech 6 ปีที่แล้ว

    I thought this is accessible globally.. why is it that there's a need of importing of the firebaseConfig file?

  • @freelancevip
    @freelancevip 6 ปีที่แล้ว +1

    You are great!

  • @mbaljeetsingh
    @mbaljeetsingh 7 ปีที่แล้ว +1

    @paul why did you use v-bind:key in the v-for?

    • @Ab4kus
      @Ab4kus 7 ปีที่แล้ว

      vuejs.org/v2/guide/list.html#key

    • @chanlito4896
      @chanlito4896 7 ปีที่แล้ว +2

      vue requires it when u use v-for, I think it's for performance reason.

    • @paulhalliday
      @paulhalliday  7 ปีที่แล้ว +2

      That's correct. :)

    • @rickyu1978
      @rickyu1978 7 ปีที่แล้ว

      v-for why use personName of names instead of personName in Names?

    • @ADiLHaddaoui
      @ADiLHaddaoui 6 ปีที่แล้ว +1

      because we called it names in the firebase object:
      firebase :{
      names : namesRef
      ^^^^^^^
      },
      it's just a key name !! call it names or Names won't change anything.

  • @phamthao5421
    @phamthao5421 6 ปีที่แล้ว

    What is the name of vscode theme are you using?

  • @Conkord777
    @Conkord777 4 ปีที่แล้ว

    can i used this lib with vue-native ?

  • @d2161
    @d2161 6 ปีที่แล้ว

    What extension do you use to make your Vue code look colorful like that in VSCode?

  • @rickyu1978
    @rickyu1978 7 ปีที่แล้ว +1

    How would i add multiple elements in a form like firstname, lastname, etc?

    • @ADiLHaddaoui
      @ADiLHaddaoui 6 ปีที่แล้ว +2

      do as many inputs as you can and push it normally like :
      namesRef.push({ firstname : this.firstname, lastname: this.lastname ,edit: false }); etc ...

    • @Esra-ln6rj
      @Esra-ln6rj 4 ปีที่แล้ว

      @@ADiLHaddaoui how can iedit both of them? i tried but failed.

  • @producdevity
    @producdevity 7 ปีที่แล้ว +4

    font name pls?

    • @DiegoJaraPalomino
      @DiegoJaraPalomino 7 ปีที่แล้ว +2

      Operator www.typography.com/blog/introducing-operator

  • @rickyu1978
    @rickyu1978 7 ปีที่แล้ว

    @paul getting a error in console :
    firebase.js?d88e:2 Uncaught TypeError: __webpack_require__.i(...) is not a function
    ....
    const app = initApp({
    also, can we not just import firebase from 'firebase'; ?

    • @ADiLHaddaoui
      @ADiLHaddaoui 6 ปีที่แล้ว

      it's : import { initializeApp } from 'firebase'; then const app = initializeApp({

  • @ПавелЕфименко-ь3ы
    @ПавелЕфименко-ь3ы 6 ปีที่แล้ว

    it is hard to learn everything if you work without npm... by the way,i had to write firebase.database() instead of app.database(), it took me much time to figure it out

    • @anow2
      @anow2 6 ปีที่แล้ว +2

      so use npm

  • @maxdanielstrauss7735
    @maxdanielstrauss7735 6 ปีที่แล้ว

    Uncaught TypeError: Object(...) is not a function on line 3 of firebase.js ???? what does that mean?

    • @paulhalliday
      @paulhalliday  6 ปีที่แล้ว

      Have you checked for any syntax errors?

    • @maxdanielstrauss7735
      @maxdanielstrauss7735 6 ปีที่แล้ว

      Paul Halliday many times over.

    • @sn1recruitment417
      @sn1recruitment417 6 ปีที่แล้ว

      It's a spelling mistake(Bloody UK and the US):
      Please use:
      import { initializeApp } from 'firebase';
      const app = initializeApp({});
      Hope this helps

  • @EkySambora
    @EkySambora 6 ปีที่แล้ว

    Great

  • @GuitarAge
    @GuitarAge 5 ปีที่แล้ว

    This won't work with cloud firestore ?

    • @paulhalliday
      @paulhalliday  5 ปีที่แล้ว +1

      I'll work on a new Firestore version of this.

    • @GuitarAge
      @GuitarAge 5 ปีที่แล้ว

      @@paulhalliday Great, i subscribed and waiting !

    • @GuitarAge
      @GuitarAge 5 ปีที่แล้ว

      @@paulhalliday Great, I already subscribed and waiting for new version!

  • @cemslord
    @cemslord 6 ปีที่แล้ว

    He is Crazy Cong...

  • @madleed4727
    @madleed4727 6 ปีที่แล้ว

    WTF I can't make it work.
    I'm using router, I don't know how to set that up.

  • @OliJeffery
    @OliJeffery 4 ปีที่แล้ว

    If you can't get VueFire to install, check this out stackoverflow.com/questions/56416834/export-default-imported-as-vuefire-was-not-found-in-vuefire

  • @HaiderAli-co9jl
    @HaiderAli-co9jl 5 ปีที่แล้ว +1

    9:47

  • @MarcusTinkersTooMuch
    @MarcusTinkersTooMuch 6 ปีที่แล้ว

    anyone got an answer to this?
    vue.esm.js?efeb:591 [Vue warn]: Property or method "names" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
    found in
    ---> at src/App.vue

    • @paulhalliday
      @paulhalliday  6 ปีที่แล้ว

      You need to add this to your data object within the Vue instance. :)

    • @MarcusTinkersTooMuch
      @MarcusTinkersTooMuch 6 ปีที่แล้ว

      Hi Paul, quick reply, thanks. You pointed me in the right direction and I got it working. Great tutorial. New subscriber. Appreciate your help!

    • @paulhalliday
      @paulhalliday  6 ปีที่แล้ว

      Glad I could help! Enjoy Vue.js. 🙌

    • @app300ful
      @app300ful 6 ปีที่แล้ว

      How can i write it so it works?

    • @MarcusTinkersTooMuch
      @MarcusTinkersTooMuch 6 ปีที่แล้ว

      I hadn't imported it properly in main.js or something

  • @user-gy3rm9hf7m
    @user-gy3rm9hf7m 4 ปีที่แล้ว

    what a hell