vue uses Wechat JS-SDK to realize sharing function
Recently, we have developed a project built with vue and embedded H5 pages in the public number of Wechat. Because of business requirements, we need to implement the custom sharing function of Wechat, so we integrate Wechat JS-SDK in the project. Wechat JS-SDK is a web development toolkit based on Wechat provided by Wechat Public Platform for w ...
Posted by Kadanis on Thu, 22 Aug 2019 23:05:23 -0700
Realization of Draggin and Droppin by React-sortable-hoc and hook
Translation: https://css-tricks.com/draggi...
The React community provides many libraries to implement drag-and-drop functions, such as react-dnd, react-beautiful-dnd, react-drag-n-drop Wait a minute. But they have some common shortcomings:
It's complex to use, and sometimes it takes a lot of work to build a simple drag-and-drop demonstration ...
Posted by tijger on Wed, 21 Aug 2019 23:39:18 -0700
"Angular7+NgRx+SSR Family Barrel" Develops QQ Music
Project Description
Now it's mainly about React development and also using server-side rendering. DEMO ) Recently, I want to write a project with Angular to experience the TypeScript method. Compared with Angular versus React, it's more convenient ...
Posted by chrislead on Wed, 21 Aug 2019 20:01:08 -0700
Webpack 4.0 Gets Into Deep
webpack4.0
(1) Installation and use of webpack
1. Introduction
webpack is a packaging tool, which handles js files by default, can also handle other types of files with loaders, and can simplify our development process with plug-ins.
2. Configuration environment
First install the preparation environment, node, because webpcak is a node-based pa ...
Posted by yumico23 on Tue, 20 Aug 2019 22:07:36 -0700
vue development environment based on Web pack 4.x at novice level
Using webpack 4.x to build vue development environment in the initial stage
Guide reading
First of all, in this chapter, I will take you hand in hand to build a vue development environment using webpack 4.x. Students here may ask?
"There ar ...
Posted by tbone-tw on Sun, 18 Aug 2019 21:28:01 -0700
React+Koa Full Stack Development Handbook
Project function
Recently, I was doing a second-hand book trading website, which belongs to the course assignment of B/S architecture, but because of the adoption of a new framework, I am eager to try and record it.
The basic functions of a used book trading website are as follows:
To achieve user registration and login functions, users need ...
Posted by Avochelm on Wed, 14 Aug 2019 02:12:49 -0700
[Cute-Webpack] Introduction to Webpack4 (18 chapters)
introduce
1. Background
Recently, we have been working with our department leaders on the research team (EFT - Front End Novice Village) to help the newcomers quickly understand and integrate into the company team, to help the zero-base newcomers learn and start-up front-end development, and to achieve the company's business development level. ...
Posted by examancer on Tue, 13 Aug 2019 17:13:12 -0700
express is easy to use
Introducing express
npm install express --save
express-generator
This is a generator to generate express, through which we can quickly build an express architecture without having to build a tedious one.
npn install express-generator -g
Note: - g means global installation, if not global installat ...
Posted by onyx on Sun, 11 Aug 2019 06:44:27 -0700
Large screen monitor
Use of Echarts
1. Introduce echarts files, and you can download them directly in vue (npm I echarts--s)
2. Initialization of echarts
//In main.js
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
// Initialize echarts instance based on prepared dom
var myChart = echarts.init(document.get ...
Posted by vtbruinsfan on Fri, 09 Aug 2019 00:39:51 -0700
Basic introduction to vuex
Introduction to Vuex
Introduction to installation and composition of vuex
image.png
Introduction to vuex
vuex is a state management mode for vue.js applications
It uses centralized storage to manage the state of all components of an application.
And with the corresponding rules to ensure that changes occur in a predictable ma ...
Posted by santhosh_89 on Thu, 08 Aug 2019 07:14:16 -0700