Code Monkey home page Code Monkey logo

Comments (9)

posva avatar posva commented on May 12, 2024 2

@FranzSkuffka #25 adds this. I'll merge it this week and release a new version with the feature 😄

from vuefire.

janwirth avatar janwirth commented on May 12, 2024

I managed binding it.

from vuefire.

jwngr avatar jwngr commented on May 12, 2024

Sounds like you resolved this problem. If you did, please provide the solution you ended up with so that future devs can benefit from your answer.

from vuefire.

janwirth avatar janwirth commented on May 12, 2024

Here's my solution.
https://github.com/FranzSkuffka/innovant/blob/firebase-wip/assets/libs/vuefire.js#L177

It's just a hacky quickfix, but that's where the change is needed. Possibly you want to incorporate it in a different way.

Here is how it is used:
https://github.com/FranzSkuffka/innovant/blob/firebase-wip/app/components/editor.vue#L58

I will have to make sure that it does not interact with the other problems I opened issues for.

from vuefire.

janwirth avatar janwirth commented on May 12, 2024

Should I file a PR?

from vuefire.

balthild avatar balthild commented on May 12, 2024

Same issue.

export default {
    firebase: {
        articles: db.ref('/data/article').orderByChild('id').equalTo(this.$route.params.id)
        // Uncaught TypeError: Cannot read property '$route' of undefined
    }
}

I hope that there will be a official fix because I'm using npm.

from vuefire.

janwirth avatar janwirth commented on May 12, 2024

@balthild how does using npm relate to incorporating a fix?
You can just extract the file from your package.json and save it somewhere else...

@jwngr this is not a question, but bug I think.
Are you planning to fix this?

from vuefire.

janwirth avatar janwirth commented on May 12, 2024

@posva thanks very much for the heads up :)

from vuefire.

balthild avatar balthild commented on May 12, 2024

@FranzSkuffka Well, I just want to keep all dependencies managed by npm exclusively...

@posva Thanks!

from vuefire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.