Skip to content
Discussion options

You must be logged in to vote

I managed to get a project based on the https://github.com/Atinux/content-wind template deployed.
I gave up on windows and sorted out the issues on linux.
Made the following changes and discoveries

node version v14.19.3

Use yarn instead of npm

Added a couple dev dependencies:
"@azure/static-web-apps-cli": "^1.0.1",
"azure-functions-core-tools": "^4.0.4544",

Modified the build script in package.json
"build": "NITRO_PRESET=azure nuxi build",

Added an "swa" build script in package.json
"swa": "swa start .output/public --api-location .output/server"

Building and running with static-web-apps-cli
yarn
yarn build
yarn swa

Deployment
Followed the instructions in https://nitro.unjs.io/deploy/provi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sig9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant