@croud-ui/vue-icon
The icon component is used to efficiently visually communicate with users on our platform.
Install
Install component:
To use this component in your vue app, install the component via the npm registery:
yarn add @croud-ui/vue-icon
Install Material Design Icons:
You will also need to link to the material design icons web font by adding the following to the header of your app:
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
Usage
Import this component into the component file where you want to render it and register the component:
import Icon from "@croud-ui/vue-icon";
export default defineComponent({
...
components: {
Icon
}
})
You should then be able to render this component.
License
Licensed under the MIT License