Closed Because789 closed 3 months ago
Hmm, will take a look.
When I test the config locally, the entry and asset files are saved properly under src/content/blog
.
When I open my Astro project on http://localhost:4321/admin/index.html and select
src/content/blog
Maybe this is the cause. You need to select the project root directory that contains src
, not the blog
directory itself.
Oh man, yeah, "select the project’s root directory", there it is. Seems like the first time around I actually read and the second time I let myself be led by a terrible intuition. Sorry for bothering you with that, gonna close.
Great to hear the problem is solved! I’ll add user-friendly local workflow instructions to the entrance page 😆
I have a project where local development worked with a previous version of Sveltia, but now it doesn't. Here is my config:
When I open my Astro project on http://localhost:4321/admin/index.html and select
src/content/blog
, no posts show up (they previously did). When I save a new asset, it's saved at:src/content/blog/src/assets/images/whatever.jpg
. A new post is saved atsrc/content/blog/src/content/blog/de/test.md
andsrc/content/blog/src/content/blog/en/test.md