vue export Excel format vue JSON Excel file Saver xlsx

vue export Excel format vue JSON Excel file Saver xlsx Recently, the company is writing a project. It needs to export the json data in vue to Excel format. There are two ways to realize this: searching the data on the Internet The second method is recommended by individuals. Although the first method is convenient, ...

Posted by ozace on Thu, 07 Nov 2019 16:35:41 +0100

Components and routing in Vue

1. What is the component Component system is an important concept of Vue, because it is an abstraction, which allows us to build large-scale applications with small, independent and usually reusable components. Usually an application is organized in the form of a nested component tree. 1.1 declaration and use of components Global components ...

Posted by mike2098 on Thu, 07 Nov 2019 00:07:28 +0100

Reasons for slow loading of vue for the first time / slow loading after refresh and Solutions

Recently, a problem was found in the project. The loading speed of the page is very slow after each refresh, about 20s. In the development environment, it is very smooth, almost imperceptible. This article refers to the optimization of various schemes of Wangshan. 1. Close the map file generated during packaging In the config/index.js file, it ...

Posted by ragtek on Wed, 06 Nov 2019 03:31:21 +0100

vue refresh page

vue refresh page The first traceless refresh Second forced refresh Third fake refresh The first traceless refresh First register a method in the global component, use this method to control the display of the router view, and then call it in the sub component; Display controlled by v-if; provide: global registr ...

Posted by nosheep on Tue, 05 Nov 2019 18:18:47 +0100

Vue learning series - understanding life cycle and hook

Preface In Last article In, we have classified and explained the common instructions encountered in the development of vue. We have probably learned how to realize data binding and realize dynamic data display function. With instructions, we can develop faster and better. In this article, we will explore the life cycle of vue through examples. ...

Posted by dev99 on Sun, 03 Nov 2019 12:40:42 +0100

Front end video control use document

This video control is a control in the npm library. The source address of this control is: https://www.npmjs.com/package... . Because this control is relatively simple to use and there are not too many complex buttons, it can only play the camera picture in real time, which is suitable for the project requirements, so this control is selected ...

Posted by jigen7 on Fri, 01 Nov 2019 23:32:37 +0100

Trouble of router view in Vue router

When I first contacted vue, I was puzzled by the rendering of router view for a long time. I don't know why there are many router links and different router views, but why is there no confusion in rendering? This is a demo I wrote myself On the left is the primary route, on the right is the component corresponding to the primary route. On t ...

Posted by deeessay on Fri, 01 Nov 2019 20:33:35 +0100

Analysis of Vue router source code

start First of all, it was broken up. After changing jobs, I finally had some leisure time. Suddenly, I realized that I hadn't written a blog for more than a year. After thinking about this time, I didn't seem to have much new technology accumulation. I felt so ashamed that I could not confuse myself.OK, let's get into the topic right away. Tod ...

Posted by drisate on Wed, 30 Oct 2019 20:00:58 +0100

When writing React / Vue projects, does the key in the data list use array subscript or unique value id or not?

React is consistent with the principle of Vue, which is introduced in the column of Vue. The difference between key not writing and key using array subscript key not writing is the same as using array subscript. All are side faces that use "update in place" by default. When Vue is updating ...

Posted by iman121 on Mon, 28 Oct 2019 17:37:54 +0100

Page experience Optimization - picture preview and upload display progress

In normal project development, we often upload files, not only to achieve the basic needs, but also to take into account the user experience. According to the problems encountered in our work, we talk about the preview of image upload and the optimization of upload progress. 1. Construction project Based on the project built by Vue.js+axios, ...

Posted by jamesh on Mon, 28 Oct 2019 01:41:38 +0100