Home
CSS skills 2
Variable Variables are defined with --, referenced with var(--varName), and can be accessed by JS. 123:root { //declare in the top root of css--variables and assign values --logo-size:60px;
CSS skills 1
Web site folder directory design index.html src > style.css src > script.js src > assets > video >videos && src > assets > images > svgs Resource Site Videos a
Axios instance, Interceptor, Cancel request
Axios creates an instance object to send a request Usefulness: The interface data for many projects does not come from a single server. When using the Axios object to send requests to different serv
Axios parameters
Request Configuration These configuration objects can be used not only in axios( ), but also in .request( ), .post( ) and other request methods. 12345678910111213141516171819202122232425262728293031
Axios basics
Axios Introduction Both React and Vue use Axios to send data requests. Axios can run in the browser and send Ajax requests to the server. Axios can also run in node.js, making http requests to the s
Http basics
Http basics The client sends a request (request message) to the server, and the request content includes request line, request header, and request body. The server responds to the data returned by t
props in route@5
Pass the params parameter There are three ways to carry parameters in ajax: query, params, body. The body parameter has two encoding forms: urlencoded and json. There is also a params form in routin
Nested route@5
Secondary route writing method (in the @6 version there is no such problem) File location: The component folder is created under the first-level routing folder. Navigation link location: in the rout
Advanced usage of route@5
Routing components and general components General components are placed in the src-components tag, but routing components are not in compliance with the specification. When standardizing developmen