#Astro + Sanity template install

12 messages · Page 1 of 1 (latest)

humble sparrow
#

https://github.com/sanity-io/sanity-template-astro-clean

I am trying to get this project set up and I'm still a little new with integrating apps with each other.

The directions in the readme are a bit confusing, saying I should be running npm create sanity@latest init --env in both the /app and /studio folder but when doing that, it forces me put another instance of the studio in an empty directory.

GitHub

Clean starter template with Astro. Contribute to sanity-io/sanity-template-astro-clean development by creating an account on GitHub.

stone sirenBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.

drifting kayak
#

hey, did you get this figured out?

humble sparrow
#

I did not sadly

drifting kayak
#

darn...am also struggling with something similar

hollow shoal
#

I found this

#

And the changes

topaz oak
#

You don’t do it in the /, only in the /studio folder.
Yes, clear out the /studio folder before running the command. It’ll work. I’ve gotten it working

#

The only two publishers of Sanity + Astro tooling have been incredibly negligent of their projects. This one is the better way. It sticks closer to the Sanity docs.

humble sparrow
#

Awesome I’ll give it a try. Thanks!