forked from hguerni/ft_transcendence
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage_command.txt
More file actions
22 lines (17 loc) · 836 Bytes
/
Copy pathpackage_command.txt
File metadata and controls
22 lines (17 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FONT-AWESOME :
1) add svg core : npm i --save @fortawesome/fontawesome-svg-core
2) add icons : npm i --save @fortawesome/free-solid-svg-icons
npm i --save @fortawesome/free-regular-svg-icons
3) add react component : npm i --save @fortawesome/react-fontawesome@latest
=======================================================
=======================================================
=======================================================
=======================================================
MATERIAL UI :
1) to install : npm install @mui/material @emotion/react @emotion/styled
2) Google web fonts : <link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
3) SVG Icons : npm install @mui/icons-material
Then just use Import <component_name> from '@mui/material/<component_name>'