mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
fix _renderToString import for vue2
This commit is contained in:
parent
aea527fd87
commit
9e5bb2a580
@ -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) {
|
export function renderToString (component, context) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user