Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
37 stars 1 forks source link

Nuxt module #419

Open Celibioux opened 3 months ago

Celibioux commented 3 months ago

Feature description

A Nuxt module for the ecosystem

Problem/motivation

It's a great add to the Nuxt Module

Describe alternatives you've considered

No response

Additional context

No response

Validations

joao-m-santos commented 2 months ago

Hey @Celibioux , thanks for contributing.

We don't have plans to account for SSR in the foreseeable future. For now, you can:

  1. Wrap Lume components in a <ClientOnly> Nuxt tag
  2. Take care of implementing a Nuxt module that loads either Lume components or the Lume plugin onto a Nuxt app.
julian-onderwater-adyen commented 1 month ago

@govind-srinidhi Adding a comment here for visibility after our debugging session today. Tested 4 components in the adyen-demos project (nuxt 3 setup), and unfortunately the sparkline + line charts were not rendering, yet the tooltip functionalities were breaking.

Happy to debug/ help the Lume team when this ticket gets picked up. AFAIK, our designers are looking to utilise Lume once we finish our migration from Nuxt 2 to Nuxt 3.