Skip to content

Instantly share code, notes, and snippets.

Avatar
🌈
lodz lodz lodz

thinkofher thinkofher

🌈
lodz lodz lodz
View GitHub Profile
@thinkofher
thinkofher / component-app.js
Created Sep 10, 2021 — forked from kesor/component-app.js
Vue.js 3.x with ES6 modules in the browser using import-map
View component-app.js
import { defineAsyncComponent } from 'vue'
const Content = defineAsyncComponent(() => import('./component-content.js'))
export default {
name: 'App',
components: { Content },
template: /*html*/`
<Content />
`