I’m a front-end developer with a Front-End Web Developer Nanodegree from Udacity. As a self-taught developer, I am passionate about learning new things.
I’m a front-end developer with a Front-End Web Developer Nanodegree from Udacity. As a self-taught developer, I am passionate about learning new things.
I have checked your code, and it's my fault I forgot to change paths for webFontsPath and distWebfonts
it should be src([webFontsPath]).pipe(dest(distWebfonts)).
Try to change line 35 in gulpfile
I have edited the post, I'm sorry for this typo.
Let me know if this solved the problem.
I’m a front-end developer with a Front-End Web Developer Nanodegree from Udacity. As a self-taught developer, I am passionate about learning new things.
I’m a front-end developer with a Front-End Web Developer Nanodegree from Udacity. As a self-taught developer, I am passionate about learning new things.
I did the exact same but getting blank squares for font awesome icons.
@sabbirsobhani Could you share your code, so I can check?
Yes, here in my repo github.com/iamsabbirsobhani/fontaw...
@sabbirsobhani
I have checked your code, and it's my fault I forgot to change paths for
webFontsPath
anddistWebfonts
it should be
src([webFontsPath]).pipe(dest(distWebfonts))
.Try to change line 35 in
gulpfile
I have edited the post, I'm sorry for this typo.
Let me know if this solved the problem.
I did exactly as you instructed but, still getting blank squares. And, I updated the code on my GitHub repo so that you can check.
I checked the code, and you have to put the
index.html
andwebfonts
folder in the same folder (dist
)You can define a task to make a copy of the
index.html
in thedist
folder. Then check CSS and JS file paths again.It works!
That's awesome, you did a good job.
Thanks for your feedback, which helped me improve the article.
Happy coding :)