12 lines
248 B
JavaScript
12 lines
248 B
JavaScript
import {createApp} from 'vue'
|
|
import Playground from '../components/Playground.vue'
|
|
|
|
|
|
export function initPlayground() {
|
|
const el = document.getElementById('playground');
|
|
if (!el) return;
|
|
|
|
const View = createApp(Playground);
|
|
View.mount(el)
|
|
}
|
|
|