Combination of ESLint and Prettier

preface Forced consistency and double formatting are the most fatal 1, ESLint? Remember when I first contacted eslint, what was it? How to delete this thing VSCode configuration It is convenient to use the Eslint plug-in of VSCode, so let's install the Eslint plug-in first After the installation is completed, of course, the conf ...

Posted by mephistoo on Fri, 12 Nov 2021 06:51:06 -0800

How do I output a CSDN document to a PDF file?

Introduction: According to the needs of generating documents, find some introductions on CSDN to generate PDF blog posts from MARKDOWN documents. Test the printing effect according to the method they introduced. Especially for the cleaning of some newly added display elements in CSDN, a cleaner and complete PDF document can be generated. K ...

Posted by soadlink on Fri, 12 Nov 2021 04:10:22 -0800

[front end] JavaScript detailed tutorial

       👇 👉🚔 Jump straight to the end 🚔 👈 ——> Receive exclusive fan benefits 💖        ☝️   👻 Last two blog posts Nanny tutorial HTML 20000 word note summary [suggestions collection] (Part I) and Nanny tutorial HTML 20000 word note summary [suggestions collection] (Part II) After being read by many friends, man ...

Posted by pbsonawane on Fri, 12 Nov 2021 02:54:57 -0800

Adapter & finisher

js design pattern - adapter pattern, decorator pattern1. Adapter modeAdapter mode: (adapter) is to convert the interface of a class into another interface desired by the customer. The adapter mode enables those classes that cannot work together due to incompatible interfaces to work together. (big talk design mode) Usage scenario: when the dat ...

Posted by tkj on Fri, 12 Nov 2021 01:54:21 -0800

Java Web knowledge essential

Java Web knowledge essential web concept review Software architecture C/S: client / serverB/S: Browser / server Resource classification Static resource: all users get the same result after accessing, which is called static resource. Static resources can be directly parsed by the browser, such as html, css and JavaScriptDynamic resources ...

Posted by Lexi on Thu, 11 Nov 2021 21:28:45 -0800

[webpack] record hmr failure solutions

preface Recently, I encountered a problem. Because the login system uses single sign on and the application uses micro front-end, the xswitch plug-in is used to intercept the agent during development, which leads to the need to manually refresh the browser and update each time the code is modified. A solution has been found. It was found that ...

Posted by ieda on Thu, 11 Nov 2021 16:38:45 -0800

Session Technology (Cookie vs. session)

1, Basic concepts Session: a session contains multiple requests and responses One session: the browser sends a request to the server resource for the first time, and the session is established until one party disconnects (the browser or client is closed) Function: share data between multiple requests within a session Method: Clien ...

Posted by jmdavis on Thu, 11 Nov 2021 16:05:44 -0800

Registration of Spa project development

catalogue 1: The spa project completes the login and registration layout 1. Install development module 2. Introduce the main.js configuration (leading css and then JS) Tests: adding   elementUI   Component view effect   ​   3. Login registration layout 1,src/App.vue 2,src/router/index.js 3. src/views/Login.vue (log ...

Posted by gavinr98 on Thu, 11 Nov 2021 15:16:27 -0800

DRF+VUE realizes password and verification code login

#1, User name + password + jwt authentication to achieve login authentication The following are some codes of VUE front-end login interface <div class="inp" v-if="login_type==0"> <input v-model="username" type="text" placeholder="user name / phone number" class="user"> <input v-model="password" type="pass ...

Posted by webslinger on Thu, 11 Nov 2021 11:17:06 -0800

[SVG] SVG's lethal weapon - path

[SVG] SVG's lethal weapon - path Blog description The information involved in this article comes from the Internet and personal summary, which means the summary of personal learning and experience. If there is any infringement, please contact me to delete it. Thank you! explain As soon as it was released yesterday, I suddenly saw a fri ...

Posted by hasjem on Thu, 11 Nov 2021 09:17:26 -0800