in addition to server rendering, what are the solutions for loading the home page? ...
how can the PHP code be completely separated from the front-end code? I am a newcomer who just went to work. Recently, I have spent a lot of time operating the front-end code. I am very confused. I have come to ask for help from the big guys in the commu...
re-describe that when a normal div wraps two div child elements of a fixed width, when the browser window shrinks, the child element "rushes out " of the parent element. When the parent element div is added with the attribute of inline-block, the child...
react project created based on creat-react-app,. In order to solve the compatibility of IE with some methods of Es6, babel-polyfill is introduced into the project. Can run normally in the local development environment, performing packaging upload to th...
after creating a project using weex create , run npm start , weex debug , and then the effect is as follows: weex playground debug "devtool " Why is this? ? ...
is doing front-end page development. The project is packaged through gulp, and the server is used to open the web page with browser-sync native. can generally be accessed through localhost plus port. but now opening localhost, will jump to a page whe...
vue htmltemplate jsvardatavue$refs start it in the updated hook, because other hooks will not catch it (it s useless to put it in mounted) but the advertisement doesn t move. How should I write it? PS: doesn t need the code here. It just wants t...
html: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>test< title> <link rel="stylesheet" href=". showbox.css"> < head> <bod...
when I started learning vue.js, I reported an error vue.js:525 [Vue warn]: Cannot find element:-sharpapp here is my code: ...
use this edit box, < div contenteditable= "true " > when I edit a line wrap, it automatically adds a p tag, but I pass the data to the service and refresh the data obtained from the page to be displayed on the page, right? this tag is also displayed. ...
function takeout(th) { var text2 = $( -sharpdata_matrix ).val(); var allcon2 = text2.split(" n"); for (var i =0; i < allcon2.length; iPP) { a = allcon2[i].split( t ); tab var ha=a.join(" t"); tab console.l...
Hbuilder packages APP and Weex,react Native. What s the difference in packaging them into APP? In terms of performance or permissions? ...
function takeout(th) { var text2 = $( -sharpdata_matrix ).val(); var allcon2 = text2.split(" n"); for (var i =0; i < allcon2.length; iPP) { a = allcon2[i].split( t ); tab var ha=a.j...
the base style of bootstrap is applied globally throughout the site. embed a piece of content generated by a rich text editor in a div on the page that does not want to be affected by the base style of ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>vue< title> < head> <body> <div id="app"> <mparent :imgsrc="img" :title=&quo...
recently doing a project, the customer needs a similar Jiang Xiaobai expression bottle of Mini Program, as I do not know much about canvas I am very upset, his production page looks like an ordinary layout, but after the production can be saved to the lo...
if I want to use the page component of iView in render, how can I trigger its on-change event? this is written in render, but there is no response ...
console.time () and console.timeEnd () can print the execution time of the program. (function(){ console.time( index ); var div = document.getElementById( div ); div.onclick = function(){ alert( 123 ); }; console.timeE...
current projects use vue, and native websocket. After logging in to the business, I use a unified js file as the entry for processing websocket, including websocket creation, connection, and message processing. I thought the message I was dealing with wa...
the background of the project with separate front and rear ends uses how to change the address domain name dist xxx.html into domain name dist xxx if the PHP foreground does not use any framework. is not a single-page project. NodeJS is not used. ...
Why can I respond to routing changes with watch, but the beforeRouteUpdate guard does not trigger it. ...
This dependency was not found: App in . src main.js To install it, you can run: npm install --save App problem description the environmental background of the problems and what methods you have tried related codes Please paste the code text ...
how do I call a method in bb.go in aa.go? ...
I encountered a mysql problem during development. I have multiple tables, there are relationships between multiple tables, and each table has a separate sort. The hierarchical relationship of the four tables course > course_level > course_unit > course...
I want to implement that in a rich text editor, when pasting, the html content in the clipboard is automatically converted to markdown content and then pasted into the editor, as if js does not support access to the clipboard. Do you have any solutions? ...