I created a new theme (from persona) with a new
After a nodebb build, I get this message in devtools:
GET https://mydomain.com/assets/src/client/testpage.js?v=6a0hef49d1f 404 (Not Found)
And in fact, no
testpage.jsexists at that (nginx) location. There is one in
build/public/templates/testpage.jshowever. But it's in the wrong place for the server to find it for the browser's request.
Is this how it's supposed to be? How can this be fixed?
Thanks any helpful feedback.
When you create a new page/template nodebb automatically tries to load a requirejs module for that page from
assets/src/client/<templateName>.jsThe error you see is because you are missing the js file.