ecomfe / vue-echarts

Vue.js component for Apache ECharts™.
https://vue-echarts.dev
MIT License
9.42k stars 1.48k forks source link

Nuxt 3 Module #775

Closed Celibioux closed 13 hours ago

Celibioux commented 2 months ago

Confirmation

Details

It would be nice to have a Nuxt 3 compatible Module with SSR maybe !?

kingyue737 commented 2 months ago

https://echarts.apache.org/handbook/en/how-to/cross-platform/server#server-side-svg-rendering

We also have to specify the height and width of the chart, so if your chart size needs to be responsive to the container, you may need to think about whether server-side rendering is appropriate for your scenario.

In my opinion, it seems that scenarios of SSR ECharts are limited since many users use VueEcharts with autoresize prop which does not work on the server side. We cannot know the size of the container in advance.

kingyue737 commented 2 days ago

I write a Nuxt Module for ECharts with support of SSR.

https://github.com/kingyue737/nuxt-echarts

docs: https://echarts.nuxt.dev

It's currently in active development. Any suggestion or issue reports are very welcome.

It doesn't have issue like #627 and #766

Justineo commented 13 hours ago

I'm closing this issue as @kingyue737 is working on a Nuxt Module for ECharts 👍. See the comment above.