From scratch, use VuePress to build a personal static blog website

1, Why VuePress There are many tools commonly used to build Blog websites, such as WordPress,Jekyll,Hexo,Docsify Each tool has its own advantages. You can choose according to your preferences, but it is not recommended that you spend energy on studying the use of each tool. After all, building a blog is only the first step. Writing and sharing ...

Posted by leeperryar on Mon, 08 Nov 2021 11:01:55 -0800

React Basics_ 6 (principle and Optimization)

preface 1. Relevant principles of react 2.React performance optimization text Introduction to related principles of React setState method, which updates the data asynchronously, and calls the setState method several times, and finally only re renders the render method once class App extends React.Component{ state={ num:0 } ...

Posted by broseph on Mon, 08 Nov 2021 07:48:43 -0800

JQuery in the second phase of java

1, Introduction to JQuery (1) Introduction          JQuery is a fast and concise JavaScript framework. The purpose of jQuery design is "write Less, Do More", which advocates writing less code and doing more things. It encapsulates the common functional code of JavaScript, provides a simple Jav ...

Posted by agisthos on Sun, 07 Nov 2021 23:18:01 -0800

5 methods of List fragmentation in Java!

A few days ago, I encountered a problem when implementing MyBatis batch insertion. When the amount of data inserted in batch is relatively large, the program execution will report an error, as shown in the following figure: The reason is that MySQL can only execute a certain length of SQL statements, but when a large amount of data is inserted ...

Posted by chanzilla on Sun, 07 Nov 2021 20:49:47 -0800

vue project template

The code comes from the e-commerce system of a horse 1, Create a new project and create a schema vue ui create a new project, and then Add plug-ins: Vue cli plugin element, Installation dependencies: axios, router, vuex 1.1 routing interface analysis 1,Vue.use(VueRouter) 2. Both routing components are written as follows, and the ...

Posted by HFD on Sun, 07 Nov 2021 20:23:12 -0800

Vue components_ Creation method_ data and methods_ Component switching_ Transfer between parent and child components_ data and props

Create global component Vue components are also Vue instances. Method 1: com1 Mode 1: component Combine extend in Vue when creating components const com1 = Vue.extend({ template:"<h1>This is the first global component created</h1>" //Represents the UI code deconstruction of this component }) Note: the template cannot ...

Posted by jayrulez on Sun, 07 Nov 2021 19:15:41 -0800

[TypeScript] play TypeScript from scratch - data types in TypeScript

preface Hello, guys. In the last article, we had a preliminary understanding of typescript: Mastering what typescript is, how to use typescript and when to use typescript. Today we will learn about data types in typescript. As mentioned in the previous article, TypeScript is a superset of JavaScript. Since it is a superset, some data type ...

Posted by PRodgers4284 on Sun, 07 Nov 2021 18:47:34 -0800

Study notes of Angular Form

The Angular responsive form uses an explicit and immutable way to manage the state of the form at a specific point in time. Every change to the form state will return a new state, which can maintain the integrity of the model when it changes. The responsive form is built around the Observable flow. The input and value of the form are provided t ...

Posted by wgh on Sun, 07 Nov 2021 15:38:33 -0800

Development framework VUE technology application summary

catalogue VUE Foundation MVVM design VUE binding principle design Virtual DOM tree analysis VUE programming steps and Practice Binding and instruction application Binding style analysis (understand): Application of life cycle function Ajax requests in Axios mode Get request Post request VUE component development Component design B ...

Posted by Ardivaba on Sat, 06 Nov 2021 22:25:01 -0700

c Language Learning: Enumerations and Structures

Constant symbolization:   Use symbols instead of specific numbers to represent numbers in programsconst int a=12;               const fixes a to a value of 12 Enumeration: Enumeration is a user-defined data type that is declared with the keyword enum in the following syntax:enum enumeration type name {nam ...

Posted by robviperx on Sat, 06 Nov 2021 19:49:26 -0700