Vuex and the use of several component Communications

Let's start with a simple German example target.png A simple application with buttons and a counter.Pressing the button increments the counter.While this is easy to achieve, the goal is to understand the basic concepts. problem.dot.png Suppose you have two components in your application: 1. A button (the source of ...

Added by The Saint on Fri, 17 May 2019 23:52:21 +0300

Communication between React components

In the process of using React, it is unavoidable to need message transmission (communication) between components. There are several situations of communication between components in general: Parent components communicate to child components Subcomponents communicate to parent components Communication between cross-level components Communicatio ...

Added by cocpg on Thu, 16 May 2019 08:26:23 +0300

Introduction to ETF Intelligence Contract and Application Development

In this introductory tutorial, we will build an application development environment in Taifang and learn to write a voting intelligence contract. In this tutorial, let's build a simple "Hello World!" application, which is a voting application. The application is simple, all it does is initialize a set of candidates, get anyone to vot ...

Added by anon_login_001 on Wed, 15 May 2019 12:57:31 +0300

Public Number Web Page JS-SDK and Signature

1. Steps for using JS-SDK 1.1 Domain Name Binding Public Number Settings: Domain names that need to be filled in must be verified by ICP filing Use WeChat Test Number JS Interface Secure Domain Name: Focus on Test Public Number 1.2 Introducing js files <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" ...

Added by TKKP on Wed, 15 May 2019 00:24:28 +0300

Quick Use of vue+webpack

First, there are two ways to use vue: 1. Download vue.js <script src="vue.js"></script> 2. use npm npm install vue 2. On the basis of vue's mvc idea, there will be many functions to be realized, which can be written without being native. For example, ajax requests, various plug-ins. Install vue-cli to enable these ...

Added by eddjc on Tue, 14 May 2019 16:14:53 +0300

Research on Switching Page Theme Style and less Tutorial

One day, a big man in the headline asked me, I heard that you had made theme switching in the project before, how did you achieve it at that time? Can you elaborate on it? If you already know less like the palm of your hand, Start right here.. From less Use Less is used in Node.js environment: npm install -g less > lessc styles.less styles. ...

Added by moe180 on Sun, 12 May 2019 13:24:49 +0300

cnpmjc and sinopia build private warehouse

cnpmjc and sinopia build private warehouse Article directory Basic use of nrm install Use npm, cnpm set mirror Installation steps of cnpmjs.org server Clone code Install mysql database Configure config/index Database Configuration Other configurations start-up Verification cnpmjs.org client Release Siopia Builds Private ...

Added by Earnan on Sun, 12 May 2019 09:00:50 +0300