snabbdom.js?t=1649865073135:25 Uncaught ReferenceError: require is not defined at snabbdom.js?t=1649865073135:25:23
imp-oh opened this issue · comments
impoh commented
muya\lib\utils\snabbdom.js
export const toHTML = require('snabbdom-to-html') // helper function for convert vnode to HTML string
// Modify the code
import snabbdomToHtml from 'snabbdom-to-html'
export const toHTML = snabbdomToHtml // helper function for convert vnode to HTML string