Small and beautiful color selector: xy-color-picker
html5 form element input adds a new color type, the color selector.
<input type="color">
The default effect of the selector on windows is as follows:
It can be said to be very ugly and difficult to use.
To solve this problem, xy-ui A new class of components has been added xy-color-picker The results are as follows:
Design reference chor ...
Posted by rajatr on Thu, 08 Aug 2019 06:03:27 -0700
Vue-cli SEO prerenders using prerender-spa-plugin plug-ins
Packing projects with vue-cli are usually spa projects. It is well known that single-page applications are not conducive to SEO. There are two solutions: SSR (server-side rendering) and pre-rendering. Here we only discuss pre-rendering.
vue-cli has 2.0 and 3.0 versions. The solutions are different. ...
Posted by onegative on Wed, 31 Jul 2019 19:35:34 -0700
vue Knowledge Point Arrangement-State Management (Vuex)
1. What is Vuex?
Vuex is a state management mode specially developed for Vue.js applications. It uses centralized storage to manage the common state of all components, and ensures that the state changes in a predictable manner with corresponding rules.
The dotted green line in the picture above repres ...
Posted by banks1850 on Wed, 31 Jul 2019 09:02:16 -0700
React Native Reaction-native-videos Realize the Function of Music Player and Progress Bar
React Native (1) React-native-videos to realize the functions of music player and progress bar
Functions:
1. Sliding cards to cut songs
2. Display progress bar
Design sketch:
Third-party components:
1.react-native-video
Github address: https://github.com/react-native-community/react-native-video
2.react-native-animated-tabs
Github address: htt ...
Posted by fragger on Wed, 31 Jul 2019 00:22:00 -0700
Using session within the express framework
The last article mentioned the shortcomings of cookie s and suggested that session is one way to solve the shortcomings.This article tells you how to use session. The author used the file save session method.If you don't want to save in memory or database, remember to use the appropriate module. Below are two ways to use memory storage and fil ...
Posted by citricsquid on Tue, 30 Jul 2019 09:24:20 -0700
Vue Componentized Development
1. Implementing data requests through axios
Introduction to 1. json
json is an acronym for JavaScript Object Notation. The word means a javascript object representation, where json refers to a data format similar to a javascript object.
What json does: Transfer data between different system platforms or programming languages.
Syntax for 1.1 ...
Posted by jimmyt1988 on Mon, 29 Jul 2019 11:44:43 -0700
Remember mpa multi-page application processing once
cause
Because domestic search engines are not friendly to single-page applications, the website of general websites is multi-page applications.
Choice
Being a website is certainly the best language in the world, PHP, which I wanted to do at first, but when I wrote this article, I was a front-end developer.Considering maintainability, other fron ...
Posted by Mikkki on Thu, 25 Jul 2019 02:21:29 -0700
Using react-router-dom routing in React
Conversion from and ____________; https://www.jianshu.com/p/8954e9fb0c7e
Using react-router-dom routing in React
To realize the jump between pages in a single page application built with React, the first thought is to use routing. In React, two commonly used packages can fulfill this requirement: ...
Posted by garethdown on Wed, 24 Jul 2019 22:28:43 -0700
Hand touching teaches you to build a scaffold
Scaffolding
vue-cli, create-react-app, react-native-cli and so on are excellent scaffolding. Through scaffolding, we can quickly initialize a project without having to configure it step by step from scratch to effectively enhance the development experience. Although these scaffolds are very excellent, but not necessarily in line with our practi ...
Posted by alemapo on Wed, 24 Jul 2019 19:02:51 -0700
Noejs-md5 salt-to-decryption comparison
Noejs-crypto Encryption Tool
crypto module provides encryption functions, including a package of hashing, MD5, HMAC, encryption, decryption, signature, and verification functions of OpenSSL.
MD5 commonly used in crypto
MD5 is an irreversible encryption algorithm. At present, it is one of the most reliable encryption algorithms. There is no prog ...
Posted by kh411dz on Wed, 24 Jul 2019 03:32:43 -0700