feat: lab05 done

- add Users/Create User feature
- add Pages Functions
- add d1 database
This commit is contained in:
Tony Yang
2025-03-30 01:50:21 +08:00
parent 6dd697471b
commit 03fe40b4a9
14 changed files with 652 additions and 29 deletions
+4 -1
View File
@@ -7,6 +7,7 @@
"dev": "vite --host",
"build": "vite build",
"preview": "vite preview",
"pages:dev": "wrangler pages dev --proxy 5173 -- npm run dev",
"pages:deploy": "wrangler pages deploy dist",
"deploy": "npm run build && npm run pages:deploy"
},
@@ -15,7 +16,9 @@
"vue-router": "^4.5.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250327.0",
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^6.2.0"
"vite": "^6.2.0",
"vite-plugin-static-copy": "^2.3.0"
}
}