File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -32,29 +32,29 @@ export default defineConfig({
3232});
3333```
3434
35- In your Webcomponents root you should import the MDE5-CSS and SVG-Sprite for MDE5-Icons:
35+ In your Webcomponents root you should import the MDE5-CSS and SVG-Sprite for MDE5-Icons, as well as the optional custom-icons SVG-Sprite :
3636
3737``` html
3838<script
3939 lang =" ts"
4040 setup
4141>
42- import sprites from " @muenchen/muc-patternlab-vue/dist/assets/temporary/muc-icons.svg?raw" ;
42+ import mucIconsSprite from " @muenchen/muc-patternlab-vue/dist/assets/temporary/muc-icons.svg?raw" ;
43+ import customIconsSprite from " @muenchen/muc-patternlab-vue/dist/assets/temporary/custom-icons.svg?raw" ;
4344 </script >
4445
4546<template >
4647 <div >
47- <svg
48- style =" display : none ;"
49- v-html =" sprites"
50- ></svg >
48+ <div v-html =" mucIconsSprite" ></div >
49+ <div v-html =" customIconsSprite" ></div >
5150 <...>
5251 </div >
5352</template >
5453
5554<style >
5655 @import " @muenchen/muc-patternlab-vue/dist/assets/temporary/muenchende-style.css" ;
5756 @import " @muenchen/muc-patternlab-vue/dist/assets/temporary/custom-style.css" ;
57+ @import " @muenchen/muc-patternlab-vue/dist/style.css" ;
5858 </style >
5959```
6060
Original file line number Diff line number Diff line change 2121 "types" : " ./dist/types/index.d.ts" ,
2222 "import" : " ./dist/muc-patternlab-vue.es.js"
2323 },
24- "./dist/assets/temporary/muc-icons.svg" : " ./dist/assets/temporary/muc-icons.svg" ,
25- "./dist/assets/temporary/custom-icons.svg" : " ./dist/assets/temporary/custom-icons.svg" ,
24+ "./dist/style.css" : " ./dist/style.css" ,
25+ "./dist/assets/temporary/custom-style.css" : " ./dist/assets/temporary/custom-style.css" ,
26+ "./dist/assets/temporary/muenchende-style.css" : " ./dist/assets/temporary/muenchende-style.css" ,
2627 "./dist/assets/temporary/muenchende-fontface.css" : " ./dist/assets/temporary/muenchende-fontface.css" ,
27- "./dist/assets/temporary/muenchende-style.css" : " ./dist/assets/temporary/muenchende-style.css"
28+ "./dist/assets/temporary/muc-icons.svg" : " ./dist/assets/temporary/muc-icons.svg" ,
29+ "./dist/assets/temporary/custom-icons.svg" : " ./dist/assets/temporary/custom-icons.svg"
2830 },
2931 "files" : [
3032 " src" ,
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import { type App } from "vue";
22
33import * as components from "./components" ;
44
5- import "../public/assets/temporary/muenchende-style.css" ;
6-
75function install ( app : App ) {
86 for ( const key in components ) {
97 // @ts -expect-error
You can’t perform that action at this time.
0 commit comments