ken1714 / vertex-ai-sample

0 stars 0 forks source link

初期環境構築 #1

Closed ken1714 closed 5 days ago

ken1714 commented 5 days ago

React x Vite

$ npm create vite@latest vertex-ai-sample
√ Select a framework: » React
√ Select a variant: » TypeScript + SWC

$ cd vertex-ai-sample
$ npm install
ken1714 commented 5 days ago

これ参考にMaterial UIを導入。Material UIに決めた深い理由はないが人気もあるので。

npm install @mui/material @emotion/react @emotion/styled @fontsource/roboto @mui/icons-material
ken1714 commented 5 days ago

その他、アプリケーションそのものの依存パッケージ

npm install react-router-dom react-hook-form react-content-loader styled-components swr
npm install --save-dev @types/react-content-loader @types/styled-components
ken1714 commented 5 days ago

eslintのインストール

npm install --save-dev prettier eslint typescript-eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-import