Tag:Single page
-
Time:2020-12-12
Now there are more and more single page applications, and the front-end can do more and more things, but the following problem is that the volume of CSS and JavaScript code of a single page application is also increasing. Each time an application is initialized, it has to load these huge resources. Although the browser […]
-
Time:2020-11-9
I was busy with a project late last year, and I was always struggling with how to better describe the project premise in the form of app. My idea is to give people an easier way to collaborate on ideas. Innovating or slowly falling into madness At first, as a small app, its starting point […]
-
Time:2020-9-18
When writing a project, if the amount of single page code is too large, the data part can be separated and written separately, and then introduced. If there are many modules with such requirements, the repetition rate is too high, then it can be introduced dynamically according to certain rules. The following example uses the […]
-
Time:2020-9-4
Do you really understand webpack? If you know the answers to the following questions, you have mastered themWebpack。 Your answers are welcome. Webpack interview in Chinese English Webpack What other tools are similar to webpack Talk about why you choose to use or abandon webpack LoaderandPluginThe difference between What are the common onesLoader? What problems […]
-
Time:2020-8-28
[101. [Vue] how to reference a separate style file in a single page application of Vue]( https://github.com/webVueBlog… [102. [Vue] Vue keyboard event usage (traffic recharge item record)]( https://github.com/webVueBlog… [103. [CSS] which priority is higher? ] https://github.com/webVueBlog… [104. [CSS] what is CSS cascading? ] https://github.com/webVueBlog… [105. [HTML] the meaning of HTML? ] https://github.com/webVueBlog… https://github.com/webVueBlog… Welcome to […]
-
Time:2020-6-12
Are you a native Redux user? Do you think it’s too tedious to write Redux? Are you a dvajs user? Do you think there are too many concepts of Redux saga and yield cannot return TS type? Try react coat: Project address: https://github.com/wooline/react-coat //Only one class is needed to handle action, reducer, effect and loading […]
-
Time:2020-6-10
Recently, I wrote a web pack multi page package boilerplate (webpack4-boilerplate) from scratch, which is convenient for future work and can be used out of the box. Hereby, I record the key points in the development process. Note: This article will not introduce the basic knowledge of webback in detail. If not at all, it […]
-
Time:2020-1-11
The contents of the series are here (as a result ofI am lazy.Recently, I have been busy with other things. The series of articles has been delayed for a long time and finally updated.) What is Vue router? Official documents of Vue router Vue router is a front-end routing tool developed for vue.js, which can […]
-
Time:2019-12-26
We’re going deep into weex, hoping to use weex in our projects. Here’s how weex controls the Android return key. demand The project uses the single page application of Vue + vuerouter to write weex. There are the following requirements. When the page is not on the home page, return to the previous page.this.$router.go(-1) When […]
-
Time:2019-4-27
Develop to deploy, personally When we develop a single page application, the build is completed npm run build An index. html is generated in the dist directory. How do you deploy this index. HTML to the server? directory structure Dist /: Static files built at the front end Docker/: Configuration file needed for mirroring Configure […]