Coder Social home page Coder Social logo

Comments (7)

neuronetio avatar neuronetio commented on August 18, 2024 1

the problem was in return statement of those two functions verticalLines and horizontalLines inside Grid.vue that should return only lines variable (without assigning)

https://github.com/neuronetio/gantt-elastic/blob/master/src/components/Chart/Grid.vue#L97
https://github.com/neuronetio/gantt-elastic/blob/master/src/components/Chart/Grid.vue#L112

for quick fix you can edit those lines and return only lines without assigment
I will fix this later

from gantt-elastic.

neuronetio avatar neuronetio commented on August 18, 2024

It's weird, computed property might be just functions. Problem is probably elsewhere.
Are you trying to add some content inside gantt?
like <gantt-elastic><your-component></your-component></gantt-elastic> ?
Try to remove content inside, if this not work paste your template here.

from gantt-elastic.

neuronetio avatar neuronetio commented on August 18, 2024

When searchin on google most of those problems are caused by vuex.
Do you use vuex?

from gantt-elastic.

neuronetio avatar neuronetio commented on August 18, 2024

Ok, in developer mode I have the same issue.

from gantt-elastic.

AlexanderYW avatar AlexanderYW commented on August 18, 2024

Hi neuronetio,

Sorry for the "late" response, and i see you found the issue :)

Just to clear your questions up, no I dont have any content inside the element, neither do i use vuex

As it is now i'm using the NPM package, with a CI build flow when deploying, so i might just wait for you to release a bug fix for this one, thanks any way!

from gantt-elastic.

neuronetio avatar neuronetio commented on August 18, 2024

New version is available without this bug 🐛
also Header component was moved outside gantt so you can use your own UI library.
If you want standard header you can import Header from 'gantt-elastic/src/components/Header.vue'
and then use header slot - take a look at examples folder.

from gantt-elastic.

neuronetio avatar neuronetio commented on August 18, 2024

Leave a ⭐️ thanks!

from gantt-elastic.

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.