📄 Future markdown editor for web browser applications development
639
stars
57
forks
source link
snabbdom.js?t=1649865073135:25 Uncaught ReferenceError: require is not defined at snabbdom.js?t=1649865073135:25:23 #71
Closed
imp-oh closed 1 year ago
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