Vue uses JSON server for backend data simulation

In the process of development, the front and back ends are separated or not separated. Most of the interfaces are the development of the back end and the page. Therefore, it is very necessary to establish the rest APL interface to provide virtual data for the front end. So here I use JSON server as a tool to support cross domain requests of COR ...

Posted on Sat, 04 Apr 2020 23:28:39 -0700 by insanityonline

redux tutorial (3) using redux in react

react-redux redux implements a mechanism to store state flexibly and provides a method to get state - getState. The only way to change state is to dispatch an action. It also provides a state monitoring mechanism - subscribe. But in a react project, redux has not yet done so - how to inject state into each component container ...

Posted on Fri, 03 Apr 2020 11:32:33 -0700 by rotwyla98

Practical development of Pokemon game based on Ethereum

In this tutorial, we will learn how to develop a small game based on ERC721, which is similar to the decentralized version of Pok é mon game. The development tool used in the tutorial is Truffle, the development language is solid, and the third-party library is OpenZeppelin. Learn Ethereum in your familiar development language DApp Deve ...

Posted on Fri, 03 Apr 2020 01:29:41 -0700 by Dream$of$uccess

Weex introduction is enough

1: Vue.js understanding Vue.js environment configuration (1) Install nodejs (2) Install webpack: NPM install webpack - G (3) Install Vue cli scaffold: NPM install Vue cli - G Vue.js project creation (1) Vue init webpack Vue hello (Vue Hello is the project name) (2)cd vue-hello (3)npm install (4) npm run dev or np ...

Posted on Wed, 01 Apr 2020 23:06:11 -0700 by villas

vue little white quick start

1, What is vue Vue is a progressive framework for building user interfaces. Only 17kb after compression   2, Building vue environment You download it directly and import it with the < script > tag, and Vue will be registered as a global variable. However, NPM installation is recommended when building large applications with Vue. It's reco ...

Posted on Wed, 01 Apr 2020 12:54:05 -0700 by pdkv2

Knowledge arrangement of LESS (CSS preprocessing)

variable blend nesting pattern matching Guide expression operation function Type detection type Color color Math operation LESS belongs to CSS preprocessing language, which cannot be directly recognized by browsers like CSS, so it needs to be compiled The compiler only compiles. The generated. css file is ...

Posted on Mon, 30 Mar 2020 22:18:25 -0700 by DonnieDarko

Use d3.js in the Vue project

Before I wrote a Demo, I had to use D3 to achieve some effects, but I couldn't find a way to use D3.js in Vue in many forums. D3 on npm is relatively inhumane, and I didn't say how to use D3.js on webpack at all Finally, I saw a foreign tycoon for a long time to see that his case successfully realized the use of D3 in Vue project First installa ...

Posted on Fri, 27 Mar 2020 08:50:51 -0700 by scarabee

Integrated NGX translate for ionic3 learning

Integrating NGX translate Official connection github: https://github.com/ngx-translate/core Step 1: install npm install @ngx-translate/core --save npm install @ngx-translate/http-loader --save Step 2: To import the TranslateModule, first import the TranslateModule and add the following code under app.module.ts ...

Posted on Mon, 23 Mar 2020 09:23:44 -0700 by rhiza

Angular6_Server Rendering SSR

Angular6_Server-side Rendering You need to install the latest version of Angular before using server-side rendering. npm install -g @angular/cli or cnpm install -g @angular/cli github project Create Project ng new PWCat --routing Add universal to the project ng g universal --client-project=PWCat or ng ...

Posted on Wed, 18 Mar 2020 09:44:55 -0700 by TheHeretic

Three level linkage of ionic3

Catalog Install ion multi picker Import app.module.ts Create provider Create page A pit More Design sketch 1. Install ion multi picker Terminal operation: npm install ion-multi-picker@2.1.0 --save 2. Import app.module.ts ... import {MultiPickerModule} from 'ion-multi-picker'; ... @NgModule({ ... imports: [ ... ...

Posted on Wed, 18 Mar 2020 08:21:48 -0700 by h.a.visser