Static GitHub Issues

[3232] Require dependencies only for SSR bundle

prev: How to use auto router?
next: [edge] <style lang="postcss"> cannot be parsed

I followed FAQ to add if (process.browser) { require('external_library') } and build: { vendor: ['external_library'] } ,but it unwork. As the same time, the NPM advice me to install external_library also fail

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6918">#c6918</a>)</em></sub></div>