C
C#2y ago
malkav

❔ Blazor WASM & NetlifyCMS

not sure if the right discord for this. but here goes: I have a blazor wasm application that I want to use netlifycms on. However so far I've noticed that the admin panel part of the cms doesn't work as intended... Currently my project folder looks like follows:
|-- wwwroot
| |-- admin
| | |-- config.yml
| | |-- index.html
| |-- css
| | |-- **/*.css
| |-- images
| |-- sass
| |-- static
| |-- favicon.ico
| |-- icon-192.png
| |-- index.html
| |-- netlify.toml
|-- Pages
| |-- index.razor
|-- Shared
| ... contents
|-- wwwroot
| |-- admin
| | |-- config.yml
| | |-- index.html
| |-- css
| | |-- **/*.css
| |-- images
| |-- sass
| |-- static
| |-- favicon.ico
| |-- icon-192.png
| |-- index.html
| |-- netlify.toml
|-- Pages
| |-- index.razor
|-- Shared
| ... contents
but going to my http://localhost:3000/admin/ results in a "page not found" if I place my entire contents of /admin folder in my wwwroot the netlify login with azure button is shown at the same time as the rest of the page, which is also not waht I wanted. I am considering to place the admin folder in the parent folder instead, but I don't know if this will work. Can someone help me set this up so I can actually reach both my SWA as well as my /admin/ route to login to netlify cms with azure? (Note the tenant and app Id both are already set in my config.yml, I know that this works as I've tested it when it showed up at the same time as the rest of the SWA.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server