LoginSignup
0
0

More than 3 years have passed since last update.

ReactとTSでMaterial Designのアプリのセットアップをする手順

Posted at
  1. アプリを作る yarn create react-app my-app --template typescript
  2. Material UIを追加する yarn add @material-ui/core
  3. Robotoをインストールする yarn add fontsource-roboto
  4. index.tsxに import 'fontsource-roboto';を追加
  5. Iconsを追加 yarn add @material-ui/icons
  6. 使いたいアイコンをインポートimport { AccessAlarm, ThreeDRotation } from '@material-ui/icons';
  7. routerをインストール yarn add react-router-dom && yarn add @types/react-router-dom
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0