# 購物車網站 ### 開發工具 react + next.js + styled-components https://styled-components.com/ ### 建立 React 專案 create-react-app <專案名稱> ### 創建 Next.js 應用 > 官方的範例 npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter" > 自己的專案 > npx create-next-app <專案名稱> port 預設為 3000 ### 為你的 React 專案設定 prettier、Eslint for JSX 1. 安裝 ESLint-plugin-React : npm install eslint --save-dev ``` { "scripts": { "lint": "eslint .", "lint:fix": "eslint --fix ." } } ``` 2. 安裝 prettier : npm install prettier --save-dev 參考資料 : https://thomaslombart.com/setup-eslint-prettier-react/ 不斷更新中..
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up