vue+iview blog, vue (SPA) single page, rich text compiler
An example of background management system solution based on Vue2 + iView2.0.
Functions and components currently implemented
Vue
Page: iView2.0
List of articles, classification of articles
Rich text box: quillEditor
File upload: Use iView's own file upload componentProject address
Use ...
Posted by willpower on Fri, 04 Oct 2019 09:14:27 -0700
Using echarts to display travel footprints
Preface
There has always been a dream of traveling around the world, traveling around other countries, experiencing human civilization in different countries, seeking mountains and rivers, and experiencing the great creation of the creator nature. After all, life is not only about the present, but also about poetry and distance. Over the years, ...
Posted by leeharvey09 on Thu, 03 Oct 2019 02:11:37 -0700
Noejs console printing color and using koa to realize port and ip printing
I. Console Color Printing
Download console-color-mr
npm install console-color-mr --save-dev
The first usage:
Direct introduction of require('console-color-mr');
Modified the default color. console.info will output red directly
//use color
console.info('------------ default color--------');
conso ...
Posted by Anarking on Wed, 02 Oct 2019 13:22:07 -0700
vue-ztree-2.0 realizes tree structure
Reference resources: Official documents
Install vue-ztree:
npm install vue-ztree-2.0
main.js introduces vue-ztree:
import vueztree from 'vue-ztree-2.0/dist/vue-ztree-2.0.umd.min.js'
import 'vue-ztree-2.0/dist/vue-ztree-2.0.css'
Vue.use(vueztree)
app.js implements vue-ztree:
<template>
< ...
Posted by Lee W on Wed, 02 Oct 2019 08:23:48 -0700
Application of axios interceptor - loading data before returning
axios is a Promise-based HTTP library, and the return value is the Promise object.
The front end requests data from the back end through axios, and we can intercept them through Axios interceptors before requests or responses are made by the then or catch.
Basic knowledge of axios interceptors:
// r ...
Posted by fareforce on Mon, 30 Sep 2019 04:13:15 -0700
Ali Front End launches a new React framework: Mirror
Mirror Is a front-end framework based on React, Redux and react-router, simple, efficient, flexible and reliable.
Why?
We love React and Redux.However, there are too many in Redux Template file , which requires a lot of duplication of effort, is frustrating; let alone integrate react-router routing in real React applications.
A typical React/R ...
Posted by reivax_dj on Sun, 22 Sep 2019 19:11:17 -0700
How to use color icon iconfont in applets
How to use color icon iconfont in applets
International practice, starting with the following:
outline
In general, when we develop, we use iconfont to manage icons in the project, which is convenient and fast.But when I need the applet to migrate the project, I encounter a lot of questions.How is th ...
Posted by mabog on Wed, 18 Sep 2019 18:50:57 -0700
Koa and the Use of Common Middleware
1. What is Koa?
Node.js is an asynchronous world. The official API supports the asynchronous programming model in the form of callback, which brings many problems, such as nesting of callback, and the possibility of calling callback to return da ...
Posted by jsim on Mon, 16 Sep 2019 20:25:15 -0700
Basic usage of Sequelize
install
$ npm install --save sequelize
# You also need to install one of the following:
$ npm install --save pg pg-hstore // postgreSql
$ npm install --save mysql // mysql or mariadb
$ npm install --save sqlite3
$ npm install --save tedious // MSSQL
Establish connection
const Sequelize = require('sequelize')
const sequelize = new Sequelize(d ...
Posted by __greg on Mon, 16 Sep 2019 20:06:00 -0700
Build your own web pack development environment from 0
Last article: Front-end automated testing
Another serial is coming! This time, we will introduce how to build a web pack development environment from 0, understand its internal mechanism and principle, so that we can master and use web pack more accurately. Let's begin with:
1. What is Webpack?
Web pack is a static module bundler for modern Jav ...
Posted by binumathew on Mon, 16 Sep 2019 02:26:21 -0700