topic description sources of topics and their own ideas personal blog reading statistics when leancloud was introduced, most of the templates found in the tutorials used ejs, but the subject used jade. As they are not familiar with Jade, all have th...
A question in the learning process that cannot be answered in the official jade pug documentation. variables defined in express routing are passed to the corresponding jade template and output to html is normal, but how to output the values in variable...
create a folder back under views, create a template under the back folder, index.jade, defines template routing, and access template 404. the directory structure is as follows app.js code is as follows var createError = require( http-errors ...
block js script. var details = !{JSON.stringify(buyTips)} block body .main -sharp{details} details is the data returned by the background (taken from mock). I want to render it in html, but not to solve it in the above way? ...
return data to the page exports.renderProjectList = async (ctx) => { let list = await projectDao.list(ctx.state.page.page, ctx.state.page.size) await ctx.render( projectList , { list: list, csrf: ctx.csrf }) } render d...
div(v-drag) as in the code above, if the v-drag instruction does not pass a value, the pug will be parsed as Vmurdrag = "v-drag " , . will throw an error: [Vue warn]: Property or method "v " is not defined on the instance but referenced duri...
-sharpaccordion1.panel-group each val,index in projectInfo.formModels .panel.panel-default .panel-heading h4.panel-title ...
< button > 12 < button > < button > 34 < button > without line wrapping, how to write this in jade? ...
php QR key value pair array, how to add elements $data = [[ ts =>5, zl =>105, je =>5000],[ ts =>1, zl =>22, je =>1000],[ ts =>2, zl =>50, je =>1300]]; $abc = [[ ts =>1, zl =>20, je =>1000],[...
add OpenSSL module to Apache on linux look at the tutorials on the Internet, upload the ssl file to the modules of Apache, and then run the command ...
I set margin-top or 50px where onReachBottomDistance is greater than 50page. Can I change this value ...
there is such a scene: A list page, each list item has a like button, which is activated in red and gray if not. each list item can be clicked to jump to the details, and there is also a like button in the details page. if you like in the details, h...
problem description vue and jquery project mixed projects are written in vue at first, and then written in jquery (mainly rendering). renders a result list in a vue project, using template.js rendering, the JS is a component that renders the result...