1 2 3 4 5
import initStaticSiteEditor from '~/static_site_editor'; window.addEventListener('DOMContentLoaded', () => { initStaticSiteEditor(document.querySelector('#static-site-editor')); });