- アプリを作る
yarn create react-app my-app --template typescript
- Material UIを追加する
yarn add @material-ui/core
- Robotoをインストールする
yarn add fontsource-roboto
- index.tsxに
import 'fontsource-roboto';
を追加 - Iconsを追加
yarn add @material-ui/icons
- 使いたいアイコンをインポート
import { AccessAlarm, ThreeDRotation } from '@material-ui/icons';
- routerをインストール
yarn add react-router-dom && yarn add @types/react-router-dom
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00