Novel Flutter stateless widgets

flutter In Flutter, Stateless Widget and Stateful Widget are classified according to whether the component itself is stateless or not. In Widget s, there are button s or widgets representing structural elements, font s and color s representing styles, widgets for padding layout, and widgets creating their own widgets by exten ...

Added by polywog on Tue, 25 Jun 2019 01:57:38 +0300

H5 mobile adapter IphoneX and other models

Let's see what the iPhone X looks like first In the image above, the Iphonex model has two new areas on the head and bottom, so we need to make some adjustments to this type of model to make our webapp display easier.h5 mobile end page, the common layout is head + trunk + bottom three columns mode, the head and top are fixed positioning, the c ...

Added by 99degrees on Mon, 24 Jun 2019 19:05:58 +0300

store Split of vuex is Multimode State Management

Friends who know vuex know that it is a container used by vue to centrally manage state. Friends who know Reduce may be familiar with it when they see it. They are all used to manage the global state and access data between different components.We will not introduce vuex here, but will focus on vuex split store s and multimodule management.We ...

Added by nishith82 on Fri, 21 Jun 2019 20:29:28 +0300

Rewrite webpack multipage application configuration scaffolding

Previously, I wrote a configuration for a web pack multi-page application with only one webpack.config.js file, which implements css,js, and resource file processing for multi-entry configuration packaging.Since the entry configuration needs to be added by itself, how many pages of HtmlWebpackPlugin have to be added by itself.So while the confi ...

Added by PHPdev on Wed, 19 Jun 2019 20:30:58 +0300

avalon project practice record

Original address: http://mtmzorro.github.io/201... Project Background Need to be compatible with IE7 (important persuasion to discard IE6 based on data support) The last version of the traditional jQuery DOM development model, after numerous manual maintenance has been horrible to see Core Business Processes, Maintainability and Robustness Req ...

Added by MannX on Wed, 19 Jun 2019 03:14:42 +0300

Using the cross-domain principle of AJAX to reconstruct pages and realize the modularization of pages

jq's AJAX not only requests network data, but also accesses html and js files across domains. For example, when it accesses js files across domains, it actually does two things: 1. Create < script > tag, src points to the url to be accessed, appendChild() goes to the head tag; 2. Declare function fn, FN must have the same name as the meth ...

Added by eduard on Tue, 18 Jun 2019 22:03:26 +0300

H5 front end uses Vue instead of JQuery

This week's physical condition is not good, so updates are limited. Anyway, it's not urgent for this time and a half, and less is more confusing, isn't it? I'm thinking about a problem now. When resume production is completed and delivered, Nima personnel should install a Node environment in the terminal for npm operation. Eh.......... No IP pa ...

Added by VertLime on Thu, 13 Jun 2019 23:05:08 +0300

Handles teach you to build SSR(vue/vue-cli + express)

Recent simple research on SSR, SSR has a simple understanding, mainly for single-page applications, Nuxt is a good framework for SSR.There have also been some research, simple use, or very good feeling.But you still want to know if you don't depend on the framework and if you're working with SSRs, take a note. What is SSR Render the Vue compone ...

Added by pckidcomplainer on Wed, 12 Jun 2019 20:30:43 +0300

Global Shared State Management Practice of Multi-Page Small Programs Based on Mobx

what The name is very long and interesting. In general, this article is a summary of the use of mobx in the development of small programs. State management, as the name implies, is the management of the complex state of front-end pages. Here, I will not dwell on it. So although it's used in small programs, I think it's also a loss of inspirati ...

Added by Logical1 on Mon, 10 Jun 2019 03:41:08 +0300

Web pack development and production environment configuration

Preface The author started using webpack last year, and the first contact came from vue-cli. At that time, the main focus of work was also the use of vue. Little was known about the configuration of webpack. During that time, some questions were also asked about Daniel @Lv Dabao. By the way, for children's shoes with confused front-end knowledg ...

Added by think-digitally on Sat, 08 Jun 2019 03:47:45 +0300