mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[GH-ISSUE #705] import instruction missing in documentation #371
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AminaAmraoui on GitHub (Apr 18, 2020).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/705
Hello,
Could you please add in "Usage" documentation section the import instruction of the framework ?
Thanks !
@krngd2 commented on GitHub (Jun 3, 2020):
Same here, trying to figure out
@Pinguinpanic commented on GitHub (Jun 5, 2020):
Same
@alessandrobelli commented on GitHub (Jul 24, 2020):
Check #586
I solved by writing:
and copying the flags folder to my css public folder (Laravel project).
@nammi-kobler commented on GitHub (Dec 9, 2021):
Dude why was this closed. There's still no info on how to do the whole imports part, which is basically the middle step in between installing and using.
Rn I am just importing it as
import '../../node_modules/flag-icon-css/css/flag-icons.min.css'Seems kind of janky to me, is this the preferred way of implementing the library?
@Maritims commented on GitHub (Mar 1, 2022):
Just discovered this library and wanted to use it in my Svelte project - however the readme is missing a usage section. Is something in the works?
@Lucasmiguelmac commented on GitHub (Mar 6, 2022):
I copied
import '../node_modules/flag-icons/css/flag-icons.css'inside myApp.svelte@Bauxitedev commented on GitHub (Jun 16, 2022):
If you're using Vite you can do just do
import 'flag-icons';in yourmain.js.