Solutions common to scss in vue
Sketch
Recently, due to project requirements, many articles about scss public have been reviewed. Here is a brief summary of those articles
Solution
a. When we want to use the sharing of scss files, first we need to think about how we should edit scss files, such as reducing the coupling between variables and mixing in scss files. We can sepa ...
Posted by Drezard on Thu, 28 Nov 2019 05:20:57 +0100
vue learning [bind native events to components]
When a click event is defined in the parent component, and the click event is defined in the methods of the parent component, clicking on the page will have no response. So what should we do?
We can define a click event (native event) on the dom in the template of the subcomponent, and define the click event in the methods of th ...
Posted by Transwarp-Tim on Thu, 21 Nov 2019 15:52:53 +0100
Yii2.0.12 upgrade to PHP7.2
Let's talk about the PHP running environment of the Yii framework.
Yii 2.0.12 uses the \ yii\base\Object class, and the Object as the class name PHP7.2 reports an error.
The minimum available version of Yii2 for PHP7.2 is 2.0.13.
Provides several ways to upgrade.
The project uses Composer to manage bower and npm front-end resources.
Inst ...
Posted by eerikk2 on Sun, 10 Nov 2019 20:37:57 +0100
From the beginning of web front end to the actual combat: css style initialization
In order to eliminate the default settings of each browser for css and keep the appearance of web pages consistent in each browser, it is necessary to initialize css! Many incompatible styles can be solved by css initialization code.
1. The most resource consuming and simple
* { padding: 0; margin: 0; border: 0; }
2. Selective initialization ...
Posted by typo on Fri, 08 Nov 2019 15:57:12 +0100
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
[Buddhist notes] - operate mongodb with node
The notes series of the Buddhism department is a rough summary, which does not seek to be profound but can only be used.
Using node to operate mongodb
First of all, I assume that mongodb has been installed in your computer. Now let's see how to use nodeJS to operate mongodb. The simple database can also be used for the front-end Xiaobai of serv ...
Posted by xenophobia on Tue, 05 Nov 2019 08:13:59 +0100
[TS evolution history -- breaking the dawn] take you to TS step by step
By Valentino GagliardiTranslator: front-end wit Source: valentinog
Last month, I spent 1300 yuan to buy Alibaba's server to learn node and its corresponding framework. Before the 11th, they had activities. The configuration of 1300 now costs only 86 yuan a year and 229 yuan for three years. I really think it's cost-effective. You can click the ...
Posted by ShawnD on Mon, 04 Nov 2019 02:08:05 +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
Build your own js tool library from scratch typescript+rollup+karma+mocha+coverage
Preface
With the increase of the company's product lines, there are more and more development and maintenance projects. In the process of business development, it will be found that cookie processing, array processing, throttling and anti shake functions and other tool functions are often used in many projects. In order to avoid the low operati ...
Posted by akrocks_extreme on Wed, 30 Oct 2019 05:09:25 +0100
Multiplayer blog development project - front end
I. development environment settings
1 installation package environment
The package is as followsLinks: https://pan.baidu.com/s/1C-ZY9rWU-8ZugE4EwVveWwExtraction code: 744p
Related react introduction links are as follows https://blog.51cto.com/11233559/2443713
Unzip and modify the directory to blog without special instructions. js files are ...
Posted by Chrisj on Tue, 29 Oct 2019 05:10:21 +0100