Angular 4 Brief Introduction Notes

I used Angular 1 when I was just practicing. At that time, I really could not write native JavaScript, so I did some management background. Then suddenly changed the project, Angular did not write, feeling that he had been in contact with Angular 1 for more than a year before and after, and only knew a little about it. Recently, there was a nee ...

Posted by M4ngo on Sun, 16 Jun 2019 12:54:58 -0700

Gulp4.0 Getting Started Guide

install Gulp website gulp4.0 separates the cli from the core, so you need to install both packages separately, with the following environmental requirements: node >= 8.11.1 npm >= 5.6.0 npx >= 9.7.1 Global Installation gulp-cli npm i -g gulp-cli Locally installed gulp npm i -D gulp View version number $ gulp -v # output CLI version: ...

Posted by Navajo on Sun, 16 Jun 2019 09:14:44 -0700

Angular2 uploads files using ng2-file-upload

Angular2 uploads files using ng2-file-upload ng2-file-upload is a fully functional support library for uploading files (Reference: http://www.jianshu.com/p/0741186f60ab https://segmentfault.com/a/1190000007886391 http://valor-software.com/ng2-file-upload/) Angular2 uses ng2-file-upload to upload files: 1. Install ng2-file-upload module: ...

Posted by synted on Sat, 15 Jun 2019 10:12:55 -0700

React class, ES7 attribute initialization (Part II)

This is the second in a series of articles using React in conjunction with ECMAScript6. Below are links to all the articles in this series: React, ES6 - Introduction (Part I) React class, ES7 attribute initialization (Part II) React class, method binding (Part 3) Use of React Mixins in ES6 (Part IV) Use of JSPM in React and ES6 (Part 5) Use of ...

Posted by nmcglennon on Thu, 13 Jun 2019 14:00:41 -0700

Use of Webpack for React and ES6 workflows (Part 6)

This is the last article in the React and ECMAScript 2015 series, and we will continue to explore the use of React and Webpack. Below are links to all the articles in this series: React, ES6 - Introduction (Part I) React class, ES7 attribute initialization (Part II) React class, method binding (Part 3) Use of React Mixins in ES6 (Part IV) Use ...

Posted by snowrhythm on Thu, 13 Jun 2019 13:03:53 -0700

Introduction to Mongoose Foundation

Previous remarks Mongoose is an object model tool that can operate mongodb conveniently under node.js asynchronous environment. This article describes in detail how to use Mongoose to operate MongoDB   NodeJS Driver Before introducing Mongoose, I first introduce how to operate MongoDB using NodeJS If you use a program to operate a database ...

Posted by batfastad on Tue, 11 Jun 2019 15:19:01 -0700

! ta did these things with Node.js.

What did you do? One for crawlingwww.nvshens.com The reptile in the picture of my sister. In case of infringement, close immediately Reason It's too much trouble to put them down one by one. How to use it 0. node -v >= 7.6 1. git clone https://github.com/laihaibo/beauty-spider.git 2. npm i 3. npm run start 4. npm run calc (get the number o ...

Posted by forumsudhir on Tue, 11 Jun 2019 12:11:56 -0700

Ionic improves the first loading efficiency by script compression in PC-side Web development

Note that the description in this article is only applicable to PC-side Web development based on Ionic. If it is mobile-side development, you can try to use Uglify JS2 only for compression. Whether there will be any improvement, please verify by yourself, at least the file will load faster when it is smaller. C 1. Questions 1.1. The f ...

Posted by Shygirl on Sat, 08 Jun 2019 15:21:35 -0700

Detailed Steps for Building Complete Project Example with webpack+vue+vueRouter Modularization-Introduction

New projects Start (confirm that the node environment and npm package management tools have been installed) 1. New project file named start_vuedemo 2. NPM init-y initialization project, my win7 system, project under the vue_test_project folder of d disk named start_vuedemo project folder As shown in the figure: Under this project, a pack ...

Posted by Tubby on Thu, 06 Jun 2019 17:25:14 -0700

Notes-JavaWeb Learning Tour 8

Window Object-Timer Method <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> //Timer that executes only once function fun(){ alert("blast"); } //Parameter: js code or method ob ...

Posted by yaron on Thu, 06 Jun 2019 10:24:20 -0700