added html module for js vue components
This commit is contained in:
parent
fa2c36b6ed
commit
964a8d328c
5 changed files with 810 additions and 804 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue