create-rust-app icon indicating copy to clipboard operation
create-rust-app copied to clipboard

Admin UI doesn't render

Open gitfrederic opened this issue 2 years ago • 2 comments

Thank you for making create-rust-app available!

Using create-rust-app 8.1.1 with postgres + poem + Auth + Container + Development plugins (Storage and GraphQL disabled), I was able to get the regular Todo app working.

However, I get the following error in Firefox 109.0 (as seen in the Web Developer Tools console) on Arch Linux when accessing the Admin UI at http://localhost:3000/admin :

The script from “http://localhost:3000/admin/admin.67d0b27a.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
admin
The stylesheet http://localhost:3000/admin/admin.144d5956.css was not loaded because its MIME type, “text/html”, is not “text/css”. admin
Uncaught SyntaxError: expected expression, got '<'
admin.67d0b27a.js:1

The admin UI doesn't render (I get a blank page).

gitfrederic avatar Jan 29 '23 01:01 gitfrederic

The admin UI is still a WIP, though from my understanding @Wulf has made a lot of progress recently, look out for the next release of create-rust-app to get your hands on these juicy updates.

AnthonyMichaelTDM avatar Jan 29 '23 02:01 AnthonyMichaelTDM

Is this still an issue?

AnthonyMichaelTDM avatar Mar 31 '23 08:03 AnthonyMichaelTDM