0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Vite+React+Typescript+ChacraUI+react-router-domのプロジェクトをnpmで作成する(備忘録)

Posted at

1. viteで環境構築

$ npm create vite@latest

project name = <プロジェクト名>, framework = React, variant = TypeScriptを選択
image.png

2. my-appディレクトリに移動し、起動

image.png

3. Localhost:5173でVite+Reactの画面が出たら成功!

image.png

4. Ctrl+Cでサーバーを停止し、ターミナルでChacra-uiをインストール

$ npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion

5. react-router-domをインストール

$ npm install react-router-dom
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?