@dunlix (and others)
Thanks, the disable plugins suggestion worked. Apparently it was the "sanitize html" plugging that was causing the problem.
Not even sure why we had that still installed.
Thanks all for the troubleshooting help!
I don't want it to load through the npm. In which directory do I need to create the templates folder so that the theme is displayed in the admin panel for selection?
I also wonder which team is responsible for the real-time development mode, so that the application is not constantly rebuilt. Because it is very long to wait for compilation after each file is saved
Please, help me!
Use this documentation : https://docs.nodebb.org/development/themes/
@The-Worms I saw it. There is no information on how to move the theme to a local directory
@Butonix said in How do I create a new theme and upload it?:
I saw it. There is no information on how to move the theme to a local directory
you must forke quickstart which will allow you to create your theme.
And you can install it as a plugin
@The-Worms The plugin must also be installed in the npm. How do I install the plugin locally?))
The local directory for all modules is NODEBB/node_modules/nodebb-theme-xxx/
@The-Worms Well thank you very much! how do I enable development mode so that when a file is changed, it is hot-loaded? now when you change the file is fully assembled and each change you need to wait for 20 seconds to see the result