Open acupofspirt opened 6 years ago
Sorry, the component does not support the SSR.
@NightCatSama, I solved that with importing plugin source file like
import cVueSlider from 'vue-slider-component/src/vue2-slider.vue'
and in webpack config
{
test: /\.vue?$/,
exclude: /node_modules\/(?!vue-slider-component)/,
loader: 'vue-loader'
}
This approach works because if we let vue-server-renderer/server-plugin work with raw(not minified and compiled) .vue files with
Hi, is it SSR compatible? Because I got some errors like "document is not defined" when using rendering in Node environment (no NUXT).