added html module for js vue components

This commit is contained in:
booploops 2022-06-29 14:30:34 -07:00
parent fa2c36b6ed
commit 964a8d328c
5 changed files with 810 additions and 804 deletions

View file

@ -1,5 +1,7 @@
import {html} from "../html.js"
export const svgIcon = Vue.component("svg-icon", {
template: `
template: html`
<div class="_svg-icon" :class="classes" :svg-name="name" :style="{'--icon': 'url(' + url + ')'}"></div>
`,
props: {