HTTP API Call for Cloud Development
httpApi calls for small program cloud development.
httpApi call for small program cloud development (returning "47001 processing")
Technology stack
Using node JS + express to build web server and axios to request third party http Api
nodejsexpressaxios
Project structure
An application s ...
Posted by trinitywave on Thu, 19 Sep 2019 13:07:48 +0200
Build your own web pack development environment from 0
Last review: Build your own web pack development environment from 0 (1)
loaderIt is mainly used to convert the original content of the module into new content according to the requirement, so that it can be used to load non-components. JS Modular! By using differentloader,WebpackYou can convert different files into JS Documents, such as CSS, ...
Posted by activeradio on Tue, 17 Sep 2019 17:04:42 +0200
Sass Learning Summary
The following code is based on the scss format:
The difference between.sass and.scss
"Sass" can only use Sass's old grammar rules (indentation rules), "scss" uses Sass's new grammar rules, which are SCSS grammar rules (similar to CSS grammar format).
.sass:
$font-stack: Helvetica, sans-serif //Define variables
$primary ...
Posted by keeB on Sat, 06 Jul 2019 20:16:27 +0200
Introduction and basic configuration of webpack
webpack installation and command line
First step initialization (I use Taobao mirror cnpm here)
cnpm init
Step 2 Install webpack
cnpm install webpack --save-dev
The third step is to install the loader that handles css
cnpm instal css-loader style-loader --save-dev
The fourth step is to introduce other files into hello.js, which ...
Posted by phpCCore Brad on Sat, 15 Jun 2019 23:29:00 +0200
less Use Details
1. variable
Less's variable name starts with the @ symbol:
@mainColor: #0982c1;
@siteWidth: 1024px;
@borderStyle: dotted;
body {
color: @mainColor;
border: 1px @borderStyle @mainColor;
max-width: @siteWidth;
}
The preprocessor will eventually produce the same result:
body {
color: #0982c1;
border: 1px ...
Posted by REDFOXES06 on Sun, 19 May 2019 05:49:06 +0200
Webpack 4.0 introductory learning notes
Initialization project
Create project
mkdir webpack4-democd webpack4-demo
npm init -y
install
npm install webpack --save-dev
Install the specified version
npm install --save-dev webpack@<version>
webpack 4 + version, you also need to install webpack-cli
npm install webpack-cli --save-dev
It is recommended to install webpack and webpack ...
Posted by zonkd on Tue, 14 May 2019 13:10:28 +0200