Trying to add CF Pages

This commit is contained in:
Ronnie 2024-11-20 19:40:21 -05:00
parent adf0d2766d
commit eb2e41be03
3 changed files with 13 additions and 1 deletions

View file

@ -6,7 +6,10 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"pages:build": "npx @cloudflare/next-on-pages",
"preview": "npm run pages:build && wrangler pages dev",
"deploy": "npm run pages:build && wrangler pages deploy"
},
"dependencies": {
"next": "15.0.3",
@ -15,6 +18,7 @@
"react-icons": "^5.3.0"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.13.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",