![](/img/trans.png)
[英]jQuery Slides doesn't automatically slide after using next/prev
[英]next dev doesn't keep running, stops automatically
我正在嘗試運行 Next v13.1.6 項目,我只是使用 yarn create next-app 創建它,但出於某種原因,當我運行 yarn dev 時,它會自動停止,就像它是一個構建一樣
在這里你可以看到它:
我的 package.json 看起來像這樣:
{
"name": "nft-generator",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@next/font": "13.1.6",
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"eslint": "8.33.0",
"eslint-config-next": "13.1.6",
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "4.9.4"
}
}
您需要使用next dev
來讓它在更改時自動重啟。 將"dev":"next"
更改為"dev":"next dev"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.