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...
returned the entire page (including < html >) when using the AJAX request I have tried everything that I feel I can search for app.locals.layout=false res.locals.layout=false res.render({layout: false}) there are two other things that you can t rem...
problem description configure pug in the wepy project according to http: npm.taobao.org package., but as long as it is < or < =, it will report an error > > = No problem . the environmental background of the problems and what methods you have tri...
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...
first of all, the source code is like this input(v-model="num" @keyup="search") -sharp .prompt(v-show="lists!=0") -sharp .list(v-for="(i,n) in lists" :key="n") {{i.name}} how vue listens to let the...
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...
< H2 > for example, if I send a video result in here, I want to call the backend interface through the ajax method again to generate its thumbnail. How can I pass video as a parameter to the pug template used by ajax,? thank you < H2 > ...
-sharpaccordion1.panel-group each val,index in projectInfo.formModels .panel.panel-default .panel-heading h4.panel-title ...
the server uses koa , uses pug template engine, and renders the template in the way of ctx.render ( layout , data) ). How to refresh the front-end page automatically after changing the front-end pug , less , js files? ...
1. The company uses mac to go home and its own computer is Windows 2. The vscode configuration files for both computers are the same does anyone know how to solve it? Thank you very much ...
this is the official Webpack template of vue scaffolding. What is the meaning of "start ": "npm run dev " in it what is the difference between npm run dev and npm start? Why can t you execute the dev command under scripts configuration by typing ...
aaa,bbb, "ccc,ddd " format like this. I choose a comma with the freebcp separator. The imported data is always misplaced. I don t know how to remove the comma from the field ....
Baidu Google has been looking for several hours, but I really can t solve this problem. I come to ask you for great help. Thank you very much. the error error Couldn t find package "bable-core " on the "npm " registry. will be reported when inst...
configured in accordance with the tutorials, directly choose to get access_token and jsapi_tikcet without cache, but the returned values are all ok. I don t know why I chose to share them with friends or moments after this configuration, but I didn t ...
the editor I use is VSC. there is no problem when I only npm run dev one project; when I run one project first, and then npm run dev another project, the second project page opened by the browser shows the image above pwa,: . solve ...