Ok, so for example, if I wanted to get the js for the reply, favorite and upvote button functionatliy, where/how would I grab that script? I noticed the buttons all use the component system, so do I have to somehow include components.js in the new template? How would I go about doing that?
How to start working with Benchpress?
I do not have the theme nodebb-theme-rocket-master.
On the forum, I read that there is a Benchpress tool.
Can I use Benchpress to view the .tpl files from the theme
Is there a quick start for
Benchpress? Can someone advise how to get started and what to see with Benchpress?
Benchpress is the template engine for NodeBB. It powers how templates are parsed and rendered.
There is an introduction on the GitHub page for the project: https://github.com/benchpressjs/benchpressjs
And there is complete documentation here: https://github.com/benchpressjs/benchpressjs/blob/master/docs/readme.md
I'm new to these technologies. Please write how you can use Benchpress. Make
Please give us a brief overview. Is there a way to see the topic nodebb-theme-rocket-master with Benchpress and understand why it does not work now? Can I use Benchpress for analysis, debugging, and modification
How to do it?
[email protected] pretest C:\woprk\atb\node_modules\benchpressjs
grunt babel && eslint --cache .
Running "babel:dist" (babel) task
Oops! Something went wrong!
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
ESLint looked for configuration files in C:\woprk\atb\node_modules\benchpressjs\build and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint
npm ERR! Test failed. See above for more details.
How to fix this error?
@rahmon ok, but are you trying to use benchpress in your application? Are you trying to develop benchpress? Are you trying to install benchpress in NodeBB?
What are you trying to do with benchpress? Why are you installing it?
If you are trying to load up the benchpress project and run the benchpress tests, you should clone the benchpress repository. An npm install doesn't include the same files.
But there's no reason to do that unless you want to work on benchpress itself to improve the template engine in some way.