2019-10-18から1日間の記事一覧
Ⅰ. はじめに タイトルの通り「React で Bootstrap を使う方法」です。 Ⅱ. やり方 1. react-bootstrap, bootstrap をインストールする npm install -D react-bootstrap bootstrap 2. ファイルを編集する src/index.js import 'bootstrap/dist/css/bootstrap.m…
Ⅰ. はじめに タイトルの通り「React で HelloWorld する方法」です。 Ⅱ. やり方 1. 新規プロジェクトを作成する npx create-react-app hello-world 2. サーバを起動する cd hello-world npm start 3. src/App.js を書き換える import React from 'react' fun…