Adds example on using the Local API (both fetching data and modifying data) with Astro (vanilla JS) https://github.com/user-attachments/assets/bf2dee99-2ad7-43f5-b809-1cf626051720 This is achieved through the monorepo: ``` website/ payload/ ```
18 lines
328 B
JSON
18 lines
328 B
JSON
{
|
|
"name": "website",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"astro": "astro",
|
|
"build": "astro build",
|
|
"dev": "astro dev",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/node": "^9.0.0",
|
|
"astro": "^5.1.1",
|
|
"payload": "3.11.0",
|
|
"payload-app": "workspace:*"
|
|
}
|
|
}
|