the project was supposed to be fine yesterday. What happens when you run the project today and find that the page is all displayed in source code on the browser? none of my code has been modified. art-template template engine used to render pages t...
there are two interfaces in the background, one of which renders a page of list data with a template engine; then the second interface returns the changed data, and the unchanged interface does not return. How to update the changed data on the page in re...
how do I implement a module (or skeleton) in which multiple routers reference one mongodb? simple code example: routing: router.get( , async (ctx, next)=> { await ctx.render( index ,{}) } ); router.get( about , async (ctx,...
is there a better arttemplate+webpack+jquery best practice recommendation? because of the high requirements for deo in the project, we use this architecture and do not use vue and react single-page applications, but for jquery applications, the details p...
are there any best practices recommendations for jquery and arttemplate to build webAPP? given that the SEO, backend is rendered with node, is there a good case reference? ...
recently, the project seo has high requirements, so I decided to use arttemplate, jquery,webpack and node server rendering, but I don t know where to start. Do you have any good best practices for reference? thank you ....
using the arttemplate template engine to build the project, one page is now very large, with 38 modules requiring data requests and rendering html, but if you simply use reqire ( template , data)), the page will be segmented too much activity.html ...
An arttemplate template file, but the data in this template file is returned by multiple APIs, and the execution time is different, how to transfer multiple data, to the template file to render different modules? ...
problem description in an arttemplate template engine and node-built project, there is a piece of code that, after getting the data in an ajax asynchronous callback, populates the template and renders it into html, but here a.html const testHtml = r...
see that the arttemplate template engine is used in a project to package and build the entire project with jquery and webpack, but what do you mean by data-type and data-click in the source code, or all the attributes that begin with data- in the projec...
In the js template engine, where does the data come from and how the page does not have the variable isAdmin? you can refer to directly. < script id= "content " type= "text html " > {{if isAdmin}} <h1>{{title}}< h1> <ul> ...
when using artTemplate , the .art file does not support emmet . How to set up vscode? ...
< H1 > problem description < H1 > var PAGE_PATH = path.resolve(__dirname, .. src pages ) var merge = require( webpack-merge ) exports.entries = function () { var entryFiles = glob.sync(PAGE_PATH + * *.js ) js file under level 2 target unde...
recently, the company developed a Mini Program, but within a few days of being online, the encryption method was cracked, and the signature key was taken away by others. They have been visiting the server all the time, excluding the artificial disclosure...
I am a new scholar of front-end development, but I have encountered the following problems. I have searched all the tutorials on the Internet, some of which I do not understand and some of which are useless. I hope the gods will instruct me to solve thi...
for(var i=0;i<mydata.length;iPP){ var field = "field" + i; field0 field1 field2 field3 field=mydata[i].CREW_NAME; 12 3 4 cons...
before the WEB project uses the framework of java, the data format that the front-end send gives to http is JSONObject or JSONArray,. The operation is slow due to the need to install jvm, to run java on the device. If you want to use C s open source WEB...