praella-agency / polaris-vue

Polaris Vue by HulkApps is a component library for Vue.js based on Shopify Polaris style guide.
https://polaris-vue.hulkapps.com
MIT License
37 stars 9 forks source link

How to integrate in nuxtjs' SSR? #95

Open JCOutMan opened 2 years ago

JCOutMan commented 2 years ago

Describe the bug How to integrate in nuxtjs' SSR?

To Reproduce Steps to reproduce the behavior:

  1. next.config.js file, I wrote as follows: plugins: [ { src: "@/plugins/polaris-vue/ssr.js", mode: 'server' } ]

Screenshots 企业微信截图_16484534231250

uttam-praella commented 2 years ago

@JCOutMan We will verify this issue and will let you know as soon as possible.

uttam-praella commented 2 years ago

@JCOutMan Server Side Rendering seems broken, still you can use it with NuxtJS on client mode instead. We will put this in issue queue and prioritize it as soon as we can.

Thank you!

rohit-gh commented 2 years ago

@uttam-hulkapps any updates on this? I'm trying this currently client side, still errors. Do you have a doc for how to play it on nuxt?

Thanks for making this awesome library.