Comments (6)
I'm afraid that there's no icon with the name repo
in FontAwesome.
from vue-awesome.
Yep you're totally right. I think that came from iconic font names or something.
Thanks for the quick reply! :)
from vue-awesome.
The same here :/
<icon name="500px"></icon>
[Vue warn]: Invalid prop: custom validator check failed for prop "name". (found in component: <icon>)
[Vue warn]: Error when evaluating expression "function width() { return this.icon.width / 112 * this.normalizedScale; }": TypeError: Cannot read property 'width' of undefined (found in component: <icon>)
[Vue warn]: Error when evaluating expression "function height() { return this.icon.height / 112 * this.normalizedScale; }": TypeError: Cannot read property 'height' of undefined (found in component: <icon>)
[Vue warn]: Error when evaluating expression "function box() { return '0 0 ' + this.icon.width + ' ' + this.icon.height; }": TypeError: Cannot read property 'width' of undefined (found in component: <icon>)
[Vue warn]: Error when evaluating expression "icon.d": TypeError: Cannot read property 'd' of undefined (found in component: )`
from vue-awesome.
@gbgelado How are you importing icons in your code? It looks like you didn't import the 500px
icon in your project.
from vue-awesome.
you must be import this
import 'vue-awesome/icons'
from vue-awesome.
import 'vue-awesome/icons/flag' gives error => vue.esm.js?efeb:591 [Vue warn]: Invalid prop: custom validator check failed for prop "name".
It works find with import 'vue-awesome/icons/flag'
@Justineo
from vue-awesome.
Related Issues (20)
- Pseudo element icon HOT 1
- Color prop is not being respected HOT 1
- Hope to use CSS modules to reduce possible style pollution HOT 1
- This ico can not suport with vue 3 or latest HOT 2
- 有没有中文文档,看了费死劲。。。。。 HOT 1
- Cannot find module 'nanoid/non-secure' after upgrade to 4.1.0 HOT 3
- Issues with IDs HOT 5
- Does this project will support vue3? HOT 4
- Update to vuejs v.3 + TypeScript HOT 7
- 4.2.0之后的版本将components/Icon.vue编译为components/Icon.js导致按需加载找不到Icon组件 HOT 3
- Could not find a declaration file for module HOT 2
- The component does not work anymore on server-side rendering HOT 5
- Can I change the color when `inverse` is true? HOT 1
- html中引入问题 HOT 1
- Publish Icon.vue as well to npm
- Missing style from library HOT 2
- Regression in color behavior HOT 1
- Uncaught (in promise) TypeError: t is not a function HOT 1
- Uncaught TypeError: t is not a function
- update in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-awesome.