Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myxogastria0808/react_routing
https://github.com/myxogastria0808/react_routing
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/myxogastria0808/react_routing
- Owner: Myxogastria0808
- Created: 2023-09-04T04:55:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-04T11:21:55.000Z (over 1 year ago)
- Last Synced: 2023-09-04T22:59:59.498Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://react-routing-black-chi.vercel.app
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 静的サイトの作成方法
### 環境構築
```shell
yarn create vite projectFolder
cd projectFolder
yarn
#ルーティングのためのライブラリ
yarn add react-router-dom
#bootstrapのインストール
yarn add react-bootstrap bootstrap
```### 開発サーバーの起動
```shell
yarn dev
```
リロードは、rを押す。 (一応ホットリロード)
終了時は、qを押す。### gitへのpush (Viteの場合)
```shell
git init
git remote add origin "URL"
git branch -M main
git add .
git commit -m "commit msg"
git push -u origin main
```