Giter VIP home page Giter VIP logo

Comments (9)

matfish2 avatar matfish2 commented on May 31, 2024

Weird. Can you console.log(is_empty) after I require it and paste the result?

from vue-tables-2.

gborcherds avatar gborcherds commented on May 31, 2024

I get this.

created.js?a570:2 Uncaught ReferenceError: is_empty is not defined
    at eval (eval at <anonymous> (all-1275b4901c.js:175), <anonymous>:2:13)
    at Object.<anonymous> (all-1275b4901c.js:175)
    at __webpack_require__ (all-1275b4901c.js:20)
    at eval (eval at <anonymous> (all-1275b4901c.js:1630), <anonymous>:10:74)
    at Object.<anonymous> (all-1275b4901c.js:1630)
    at __webpack_require__ (all-1275b4901c.js:20)
    at eval (eval at <anonymous> (all-1275b4901c.js:1160), <anonymous>:1:18)
    at Object.<anonymous> (all-1275b4901c.js:1160)
    at __webpack_require__ (all-1275b4901c.js:20)
    at eval (eval at <anonymous> (all-1275b4901c.js:890), <anonymous>:43:17)

I also did console.log(typeof is_empty) and got undefined.

from vue-tables-2.

matfish2 avatar matfish2 commented on May 31, 2024

Please download the fix and try again

from vue-tables-2.

matfish2 avatar matfish2 commented on May 31, 2024

Nevermind. I see you are using the server table, and I made the change in the client table. Still not sure what's causing this.

from vue-tables-2.

gborcherds avatar gborcherds commented on May 31, 2024

Maybe I did something weird with my elixir and webpack configuration that broke it? I couldn't quite follow what you were saying in the documentation to add the babel loader.

from vue-tables-2.

gborcherds avatar gborcherds commented on May 31, 2024

It has to be something with that elixir setup. I upgraded my project to use the new laravel mix based on webpack and added the webpack config stuff and it's all working now.

Thanks for the help anyway, I appreciate it.

from vue-tables-2.

pmartelletti avatar pmartelletti commented on May 31, 2024

@gborcherds I'm having the same problem on one of my projects (which is weird, because the packages.json file is the same for all of them, but only having this problem on this one).

Can you remember what you had to change for this to start working? Cheers.

from vue-tables-2.

gborcherds avatar gborcherds commented on May 31, 2024

I'm pretty sure it's related to a bug with webpack or elixir. When I got everything switched over and on the latest versions, it just worked. Sorry I can't provide more details, but it's something to do with the compiling process.

from vue-tables-2.

pmartelletti avatar pmartelletti commented on May 31, 2024

@gborcherds yeah, managed to make it working. Had to make some config changes in .babelrc

Thanks!

from vue-tables-2.

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.