You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.0 KiB

{"remainingRequest":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\code\\vue\\admin\\src\\components\\SvgIcon\\index.vue?vue&type=style&index=0&id=c8a70580&scoped=true&lang=css&","dependencies":[{"path":"D:\\code\\vue\\admin\\src\\components\\SvgIcon\\index.vue","mtime":1709633785000},{"path":"D:\\code\\vue\\admin\\node_modules\\css-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgouc3ZnLWljb24gewogIHdpZHRoOiAxZW07CiAgaGVpZ2h0OiAxZW07CiAgdmVydGljYWwtYWxpZ246IC0wLjE1ZW07CiAgZmlsbDogY3VycmVudENvbG9yOwogIG92ZXJmbG93OiBoaWRkZW47Cn0K"},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/components/SvgIcon","sourcesContent":["<template>\n <svg :class=\"svgClass\" aria-hidden=\"true\" v-on=\"$listeners\">\n <use :xlink:href=\"iconName\" />\n </svg>\n</template>\n\n<script>\nexport default {\n name: 'SvgIcon',\n props: {\n iconClass: {\n type: String,\n required: true\n },\n className: {\n type: String,\n default: ''\n }\n },\n computed: {\n iconName() {\n return `#icon-${this.iconClass}`\n },\n svgClass() {\n if (this.className) {\n return 'svg-icon ' + this.className\n } else {\n return 'svg-icon'\n }\n }\n }\n}\n</script>\n\n<style scoped>\n.svg-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.15em;\n fill: currentColor;\n overflow: hidden;\n}\n</style>\n"]}]}