Giter Club home page Giter Club logo

Comments (5)

smnandre avatar smnandre commented on August 28, 2024

Could you resume the problem and suggested workaround here ? As the Symfony Slack does not keep messages very long

from ux.

simondaigre avatar simondaigre commented on August 28, 2024

Symfony UX requires chartjs/auto while Chart JS plugins require chartjs.
This is causing issues with assetmapper.

Workaround:

Almost got it, just need some advise how to resolve it properly.What I did:

    forced /auto  version to be 4.4.1
    in app.js I've just added import 'chartjs-adapter-date-fns'
    in app/assets/vendor/chartjs-adapter-date-fns/chartjs-adapter-date-fns.index.js

 there was import{_adapters as e}from"chart.js" which I've changed to import{_adapters as e}from"chart.js/auto"

But it requires to edit a vendor file...

I see this is duplicate of #1474 (comment) so we can close this issue.

from ux.

smnandre avatar smnandre commented on August 28, 2024

I realise i stated something : #1263

from ux.

simondaigre avatar simondaigre commented on August 28, 2024

@smnandre I just checked on my project, #1263 solves my issue.

from ux.

smnandre avatar smnandre commented on August 28, 2024

@simondaigre I'm having difficulties to clean / finalize the PR #1263 in question.. would you take a look and see if you can help there.. ? :)

I think we're almost there but i'm fighting with CI errors / Chartjs 3.9.1

from ux.

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.