fix _renderToString import for vue2

This commit is contained in:
Pooya Parsa 2020-11-02 01:37:57 +01:00
parent aea527fd87
commit 9e5bb2a580

View File

@ -1,4 +1,4 @@
const _renderToString = require('vue-server-renderer/basic.js')
import _renderToString from 'vue-server-renderer/basic.js'
export function renderToString (component, context) {
return new Promise((resolve, reject) => {