Vue cli installation and basic use of axios

Vue cli installation and basic use of axios   Vue cli is a very convenient scaffold, which can be installed according to the rookie tutorial Address: http://www.runoob.com/vue2/vue-install.html Just follow the rookie tutorial all the way. If there is no npm or cnpm (Taobao image), please go to the node official website to d ...

Posted by MasksMaster on Thu, 02 Jan 2020 15:08:33 +0100

Vuejs2.0 vscode router front and back end separation permission background basic template of vueAdmin

I think it's a good open source project, so I'll collect data to analyze it carefully and help more people to step into the development of background system as soon as possible. I don't give too much explanation about VSCode, which is a popular editor recently. The following reference materials have a detailed explanation T ...

Posted by gruzaw on Wed, 01 Jan 2020 23:43:35 +0100

Vue router route animation (right in, left out)

Here, we use the hook function of routing. The component route is beforeRouteUpdate. A page has two-level navigation. When switching two-level navigation, the corresponding content is changing. This page is reused and will only be generated once. When switching two-level navigation, how do you know that the navigation is updat ...

Posted by abbeyvb on Wed, 01 Jan 2020 03:05:34 +0100

vue server rendering add cache

cache Although the server-side rendering (SSR) of Vue is quite fast, due to the overhead of creating component instances and virtual DOM nodes, it cannot match the performance of pure string based templates. When SSR performance is critical, using cache strategy wisely can greatly improve response time and reduce server load.   vue service area ...

Posted by Gabriel_Haukness on Tue, 31 Dec 2019 08:48:38 +0100

echarts of D3 v4.x (2-6) - area (region) diagram

Area map reference ecrats address: http://echarts.baidu.com/examples/editor.html?c=area-stack Area map github address: https://github.com/dkr380205984/myComponent/blob/master/src/page/d3/area.vue There are almost no difficulties in the implementation of area map. If you have known how to write my broken line map. Function ...

Posted by kkeim on Mon, 30 Dec 2019 19:30:31 +0100

A cascade selector written by vue

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <style> * { padding: 0; margin: 0; } * { padding: 0; margin: 0; box-sizing: border-box; } a { text-decoration: none; } .clearfix:befor ...

Posted by rebelo on Sat, 28 Dec 2019 19:18:33 +0100

vue 2.0 shopping cart function implementation details (according to MOOC video)

Train of thought: Obtain the background data through VueResource, and check whether the debugging of browser console is successful. Use the hook function mounted to ensure that when all DOM are mounted on the page, request again Write the layout of the page, set the interface, and render the page through v-for Data format of ...

Posted by tinkertron on Fri, 27 Dec 2019 19:38:23 +0100

vue component development mobile bottom navigation bar

Parent child component association establishment The first step is to create a parent.vue <template> <div> <h1>father</h1> </div> </template> Then we configure the vue as the homepage of the node project in index.js under router import Parent from '@/components/Parent' Vue.use(Router ...

Posted by smarthouseguy on Mon, 23 Dec 2019 21:53:55 +0100

The method of monitoring and re responding to the change of array value in vue

During the development of our project, the data types in the instance can be objects, arrays, etc. In the object, when a property value changes, we can monitor the depth of the object to achieve the requirement of re rendering the page. Or check out the blogger's article https://blog.csdn.net/weixin_37861326/article/details/810 ...

Posted by xexmple on Mon, 23 Dec 2019 19:14:12 +0100

Vue upload files / pictures to qiniu cloud

Purpose: upload files / pictures to qiniu cloud using vue Explain: 1. The foreground uses vue and the background uses java to pass a token. 2. token: This is equivalent to a key. 3. Simply put it. Don't write anything to sign up for an account, find as he ks or anything, and go to this step, needless to say. Step 1: front ...

Posted by cybercog on Fri, 20 Dec 2019 19:55:30 +0100