Instance PK (Vue server rendering VS browser rendering)
Vue 2.0 began to support server-side rendering, so this article is also based on Vue 2.0 version or more. There is still little information rendered by the server on the internet. The most classic one is Vue-hacker-news, the author of Vue, the God of Youyuxi. When I do Vue project in the company, I have been suffering from the product, customer ...
Added by ScottRiley on Wed, 03 Jul 2019 02:53:36 +0300
Integration and Use of jpush-react-native Plug-ins in Android Papers
Preface
At present, although React Native updates faster, and various components provide a very comprehensive, but in some cases, hybrid development will quickly shorten the development cycle, the reason is that the "foundation" of the original platform is undoubtedly deeper, with many and rich types of third-party support libraries. ...
Added by CookieDoh on Tue, 02 Jul 2019 23:38:09 +0300
React+TypeScript+Mobx+AntDesignMobile for Mobile Project Build
Preface:
Based on React+TypeScript+Mobx+AntDesignMobile technology stack, this paper uses Create-React-App scaffolding to build a mobile-end project. It mainly introduces the project building process and related configuration, as well as the use of the status management tool Mobx. Finally, it implements the small functions of click button numbe ...
Added by validangina on Sun, 30 Jun 2019 19:30:13 +0300
Web pack extracts CSS files and CSSTreeShaking
Web pack extracts CSS files
CSSTreeShaking
1. Extracting CSS files from webpack
Plug-in for extracting CSS files: mini-css-extract-plugin
npm install --save-dev mini-css-extract-plugin
Detailed reference: https://www.npmjs.com/package/mini-css-extract-plugin
But the premise is to download a css loader:
npm install css-loader --sa ...
Added by ArmanIc on Thu, 27 Jun 2019 21:37:02 +0300
axios use of vue
1. Installation
1. Install npm install Axios using npm --save
2. Install bower install Axios with bower --save
3. Introduce <script src="https://unpkg.com/axios/dist/axios.min.js"></script>directly using cdn
2. Examples
1. Send a GET request
//Send a request with a given ID
axios.get('/user?ID=12345')
.then ...
Added by phatgreenbuds on Thu, 20 Jun 2019 20:32:42 +0300
Use of gulp tools
gulp
Multiple developers work together to develop a project. Each developer is responsible for different modules.
This results in a complete project consisting of many "code sections";
Some pre-processors such as less and sass are used to reduce the maintenance cost of CSS, and these pre-processors need to be parsed eventually.
...
Added by Quicksilver_0 on Wed, 19 Jun 2019 21:51:28 +0300
Large File Partial Upload Based on Node.js
When we do file upload, if the file is too large, it may cause the request to time out.Therefore, when you encounter the need to upload large files, you need to upload files in pieces.At the same time, if the file is too large, how to continue the breakpoint when the network is not good?You also need to record the current upload file and make a ...
Added by rashpal on Tue, 18 Jun 2019 19:20:41 +0300
React Practice Project (1)
React already has nearly 70,000 star ts on Github, and is the most popular front-end framework at present. And I've been learning React for a while. Now I'm going to fight with React+Redux!
Article Address: https://github.com/DigAg/diga...Project code address: https://github.com/DigAg/diga...
First, we started building a basic project.
We use c ...
Added by sayoko on Mon, 17 Jun 2019 23:23:42 +0300
Node.js Native Development Introduction Complete Tutorial
Node.js Native Development Introduction Complete Tutorial
I. About
This article is devoted to teaching you how to use Node.js to develop applications, which will teach you all the "advanced" JavaScript knowledge you need. It's enough for Node to get started with this article.
II. Code Status
All codes were tested by Chun Ge himself an ...
Added by rami103 on Mon, 17 Jun 2019 21:55:55 +0300
Gulp Introduction Guide
Introduction to Gulp
Chinese homepage: http://www.gulpjs.com.cn/
gulp is a front-end project-building tool similar to grunt, and also an automatic task Runner Based on Nodejs
Automatically complete javascript/coffee/sass/less/html/image/css and other files
Tasks of merging, compressing, checking, monitoring file changes, browser automa ...
Added by Iki on Mon, 17 Jun 2019 00:01:49 +0300