How can I preview my custom themes while editing?
-
I want to edit my theme and customize it, but in order to do so you have to restart the forum every time you make a change, which makes it extremely hard to visualize and work on it.
If you just add custom css on top through the admin panel, it automatically saves and updates the page in a few seconds. But with a custom theme it takes like 30 seconds at least for every change, which is terrible for development.
Please tell me there's some method I can use to visualize my theme changes faster.
-
We recommend you use
frontgrunt which will rebuild only the assets that changed and restart automatically.Setting up a development environment for designing themes
@arya you can use grunt. https://gruntjs.com/getting-started After installing grunt-cli you can run the command grunt in your nodebb path. Every file change...
NodeBB Community (community.nodebb.org)
You can also use your browser developer tools to apply new CSS styles or modify existing ones, though you'll still need to persist those changes into code manually.