先安裝npx(手脚架工具),命令: npm i -g create-next-app 然後就可以用npx create-next-app隨時建立next app(手脚架),例如 npx create-next-app test 至此就可以運行nextjs服務器了 npm run dev material helloworld 1.安裝 npm install @material-ui/core