GithubHelp home page GithubHelp logo

All icons disappear! about reactionic-kitchensink HOT 15 OPEN

pors avatar pors commented on June 10, 2024
All icons disappear!

from reactionic-kitchensink.

Comments (15)

gabrielseco avatar gabrielseco commented on June 10, 2024

I have downloaded the repo and I couldn't reproduce this, it works for me.

The screenshot you show is in an android device right?

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

@gabrielseco
I'm using Windows 10, and used Chrome to access "localhost:8080", and the screenshot is captured by chrome with "device mode" in "developer tool"

And I have just try it again with centos 6.5 and firefox, got the same result.

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

btw, I'm using webpack by following:

cd reactionic-kitchensink
npm install
webpack
webpack-dev-server --content-base build

from reactionic-kitchensink.

gabrielseco avatar gabrielseco commented on June 10, 2024

I was using meteor, I tried using webpack and it's loading the icons.

I'll try from a windows device.

captura de pantalla 2016-06-18 a las 18 29 07

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

yes, it's quite confused, since all the functions is OK, just lost these icons.
localhost-8080- galaxy s5

Is the following icon's style content is right?
2016-06-19 08_31_14-reactionic react ionic
2016-06-19 08_26_05-new notification

from reactionic-kitchensink.

gabrielseco avatar gabrielseco commented on June 10, 2024

If you open the chrome with developer tools, and you click in the tab network.

It should load ionicons fonts.

captura de pantalla 2016-06-19 a las 10 27 53

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

It seems that all fonts are missing! And idea to fix it?
2016-06-19 23_24_55-reactionic react ionic

from reactionic-kitchensink.

gabrielseco avatar gabrielseco commented on June 10, 2024

In the next route app/public/fonts there should be four files with the fonts.

If there are present, you could try removing reactionic from node-modules and installing it again

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

@gabrielseco I re-downloaded the https://github.com/reactionic/reactionic-kitchensink/archive/master.zip, and followed your instruction to build the project, but got the same result again.

Since the Chrome says /fonts/ionicons.ttf is not found, so I renamed the file \build\fonts, and copy the fonts folder from node_modules\reactionic\dist\scss\ into \build, just like below:

D:\DevProjects\reactionic-demo\build>dir
 Volume in drive D is Data
 Volume Serial Number is 4AE4-3C93

 Directory of D:\DevProjects\reactionic-demo\build

2016-06-20  11:28    <DIR>          .
2016-06-20  11:28    <DIR>          ..
2016-06-20  10:42    <DIR>          fonts
2016-05-05  07:12                42 fonts.old
2016-05-05  07:12               421 index.html
2016-06-19  23:17         2,004,294 index.js
               3 File(s)      2,004,757 bytes
               3 Dir(s)  75,198,185,472 bytes free

D:\DevProjects\reactionic-demo\build>dir fonts
 Volume in drive D is Data
 Volume Serial Number is 4AE4-3C93

 Directory of D:\DevProjects\reactionic-demo\build\fonts

2016-06-20  10:42    <DIR>          .
2016-06-20  10:42    <DIR>          ..
2016-06-19  23:00           120,724 ionicons.eot
2016-06-19  23:01           333,834 ionicons.svg
2016-06-19  23:01           188,508 ionicons.ttf
2016-06-19  23:01            67,904 ionicons.woff
               4 File(s)        710,970 bytes
               2 Dir(s)  75,198,185,472 bytes free

D:\DevProjects\reactionic-demo\build>

And now the icons appears!

So this is a workaround, but we still need an official solution to fix it.

from reactionic-kitchensink.

gabrielseco avatar gabrielseco commented on June 10, 2024

I tried today in a windows and I could reproduce the problem.

It seems that the Symbolic Link in the build called fonts it's not working in windows.

@pors how about we put directly the fonts in the build to save the windows problem or it occurs you another idea to solve this.

from reactionic-kitchensink.

pors avatar pors commented on June 10, 2024

@gabrielseco good find! Hmm, yes. Windows does support symlinks I think? It would be cleaner if we could have symlinks that work everywhere, but I have never looked into that. You guys have any ideas?

If we can't make a symlink work on Windows then copying it into the build directory is OK I guess. We have to remember to update these files when we update reactionic itself.

from reactionic-kitchensink.

gabrielseco avatar gabrielseco commented on June 10, 2024

I'll give it a try this week to this issue and #17.

People had some issues accessing from windows, I'll try from there to see what I can do.

from reactionic-kitchensink.

pors avatar pors commented on June 10, 2024

Awesome

On Monday, June 20, 2016, Gabriel García Seco [email protected]
wrote:

I'll give it a try this week to this issue and #17
#17.

People had some issues accessing from windows, I'll try from there to see
what I can do.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABB0MPk--huyOcAgGmX-LHHABtxoO7c2ks5qNvc_gaJpZM4I43dn
.

from reactionic-kitchensink.

flyisland avatar flyisland commented on June 10, 2024

I think the build folder should work without depending on other assets, so i could make the build on a linux box and copy the build folder to a windows machine, it should still be okay

from reactionic-kitchensink.

aminur avatar aminur commented on June 10, 2024

I am still facing this issue even after renaming 'fonts' in 'build' directory to 'fonts.old' and pasting in a copy of the 'fonts' directory from node_modules\reactionic\dist\scss\

on Windows 7

from reactionic-kitchensink.

Related Issues (17)

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.