Giter Club home page Giter Club logo

Comments (6)

Justineo avatar Justineo commented on June 6, 2024

I'm afraid that there's no icon with the name repo in FontAwesome.

from vue-awesome.

Christilut avatar Christilut commented on June 6, 2024

Yep you're totally right. I think that came from iconic font names or something.
Thanks for the quick reply! :)

from vue-awesome.

gbgelado avatar gbgelado commented on June 6, 2024

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.

Justineo avatar Justineo commented on June 6, 2024

@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.

luoyelusheng avatar luoyelusheng commented on June 6, 2024

you must be import this
import 'vue-awesome/icons'

from vue-awesome.

santoshyadav-exa avatar santoshyadav-exa commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.