vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted on Mon, 20 Jul 2020 11:29:24 -0400 by drorshem

vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted on Mon, 20 Jul 2020 11:29:39 -0400 by yddib

vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted on Mon, 20 Jul 2020 11:30:25 -0400 by markmuir

vue2 project building (top)

Project Structure Config 1. dev.env.js Development environment configuration: 'use strict' // Consolidated Configuration const merge = require('webpack-merge') const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { CONF_ENV: `"${process.env.CONF_ENV}"`, NODE_ENV: '"development"', // Inte ...

Posted on Sat, 04 Jul 2020 12:20:52 -0400 by stefharley

02-Logon and Exit

Logon/Exit Function 1 Logon overview 1.1 Login Business Process Enter the appropriate user name and password on the login page Call back-end interface for validation Jump to project home page based on background response status after validation 1.2 Relevant technical points of login business ...

Posted on Sun, 14 Jun 2020 19:59:14 -0400 by hd_webdev

How to build a vue-cli4+webpack mobile framework? Detailed explanation of this article

brief introduction This is a mobile framework based on vue-cli4, which includes the common configuration of the project, component encapsulation and web pack optimization methods, which can be used for rapid development. Technology stack: vue-cli4 + webback4 + van + Axios + less + postcss px2rem Source code github.com/Michael-lzg... //Installa ...

Posted on Fri, 12 Jun 2020 01:20:12 -0400 by Mark Nordstrom

Design patterns used to improve extensibility in excellent framework source code

Why to improve code extensibility The code we write serves certain requirements, but these requirements are not immutable. When the requirements change, if our code has good expansibility, we may simply add or delete modules. If the expansibility is not good, all the codes need to be rewritten, which is a disaster. Therefore, to improve the ex ...

Posted on Sat, 30 May 2020 00:35:53 -0400 by hadingrh

Get data + play source through QQ music interface

Recently, I am learning to make a web mobile music player. Because I don't want to make a database to store data, I am learning to get some data from the QQ music interface If other data is normal, but can't play, you can try this I found two useful sources yesterday. I hope they can give some help to like-minded friends It's used here songmi ...

Posted on Tue, 05 May 2020 06:21:53 -0400 by 9902468

You may not know how to use Axios

In the daily development of the front-end, in addition to purely static display pages, it is necessary to make some interface requests, from XMLHttpRequest, to jQuery ajax, to later Fetch and Axios. Why choose Axios Create XMLHttpRequests from the browser Create http request from node.js Support Promise API Intercept requests and r ...

Posted on Sun, 03 May 2020 13:16:58 -0400 by Stryves

Problems when using the Vue aplayer plug-in

Just contacted Vue aplayer and found the usage from github. First, NPM install Vue aplayer – save is needed. Then import VueAplayer from 'Vue aplayer' is introduced into the component. Don't forget to register the components: { 'a-player': VueAplayer  }  There is another problem here. Use v-if instead of v-show. Because it is an asynchro ...

Posted on Thu, 30 Apr 2020 13:44:32 -0400 by shatner