[Answered ]-How to render .astro files in django

1👍

Astro is a static site generator built on top of node.js. To have your static site served from your django application you would first need to build astro out, using:
npm run build or yarn build to have your site output in the ./dist directory. From here you can then point your django server to serve those files.

Since Astro files are static they can be deployed in a number of different ways, you can read more about this here

Hope that helped buddy, if you got any more questions you could always come and ask them in the discord channel

Leave a comment