import { createApp } from 'vue' import App from './components/App.vue' const div = document.querySelector('div#app'); console.log(div); const vue = createApp({ template: ``, data() { return { dataset: JSON.parse(div.dataset.app), } }, }) .component('app', App) .mount('#app');