Why does node sass always fail to install?
Original linkauthor Ping Hai Li
Node sass is a very common dependency package in our development, and it is also the most common dependency for long installation time and error reporting. There are many reasons. Before we talk about the error reporting reasons, let's analyze the installation process of node sass (the following node version is ...
Posted by tourer on Wed, 13 Nov 2019 04:10:26 -0800
One step Sass learning system
Title Map
CSS helper
Added advanced functions such as variable, nesting, mixing, import, etc.
image.png
# Convert Sass to SCSS
$ sass-convert style.sass style.scss
# Convert SCSS to Sass
$ sass-convert style.scss style.sass
Using variables
Variable declaration
Sass variable declaration is similar to CSS property decl ...
Posted by Merve on Sun, 20 Oct 2019 15:25:45 -0700
[Front-end Blame Upgrade - LV.1] Basic Contents of Reaction
react usage tutorial
Use of variables
constructor(props) {
super(props);
this.state = {
sliderSwiper: null,
movies: []
};
this.handleStart = this.handleStart.bind(this);
}
if (!baseHref) {
if (isPc) {
window['location']['href'] = `${location.protocol}//${location.host}/demo/home`;
return;
}
if (!isPc) {
window['location']['href'] = `${location ...
Posted by skyriders on Wed, 09 Oct 2019 19:14:51 -0700
Easy front end
Top Trading Front-end Architecture
Building with vue-cli3 as a whole
Frame selection vue family barrel + sass+ element-ui
Code Specification Mandatory Use eslint-airbnb Standard
The project is divided into architecture layer, business layer and view layer.
Architecture layer needs to deal with request encapsulation, request interruption, exce ...
Posted by bradkenyon on Thu, 03 Oct 2019 08:04:22 -0700
[Cute-Webpack] Introduction to Webpack4 (18 chapters)
introduce
1. Background
Recently, we have been working with our department leaders on the research team (EFT - Front End Novice Village) to help the newcomers quickly understand and integrate into the company team, to help the zero-base newcomers learn and start-up front-end development, and to achieve the company's business development level. ...
Posted by examancer on Tue, 13 Aug 2019 17:13:12 -0700
[Vue+DRF fresh electric business] 29. online services Alipay interface and Vue tune, Django agent Vue operation
Topics: Vue+Django REST framework Front-end and Back-end Separation of Fresh E-commerce
Vue+Django REST framework to create front-end and back-end separation of fresh e-commerce projects (Muchow video).
Github address: https://github.com/xyliurui/DjangoOnlineFreshSupermarket ;
Django version: 2.2, dja ...
Posted by ilikemath2002 on Sat, 10 Aug 2019 06:35:09 -0700
react learning - introducing less
Links to the original text: https://segmentfault.com/a/1190000018858055
Build a project using create-react-app scaffolding and introduce less into it
Command line input
Install less and less-loader
Configure webpack.config.js
The fir ...
Posted by Paul15679 on Mon, 05 Aug 2019 03:03:22 -0700
Nuxt development experience sharing, let you step on less pits!
Explain
This article is based on starter-template template for babies with vue-cli development experience.
vue init nuxt-community/starter-template
Nuxt
Official Documents
Simply put, Nuxt is an application framework based on Vue, using server-side rendering, so that your SPA application (Vue ...
Posted by ErcFrtz on Wed, 24 Jul 2019 03:23:49 -0700
gulp overview and introduction
Gulp is written by Eric Schoffstall. gulp is a stream-based front-end automation building tool. gulp uses the output of the first level operation as input of the second level operation in a way similar to unix pipeline. gulp runs on node s. gulp can detect the grammar of javascript/coffescript/sass/less/css/html/image and other files Compile, m ...
Posted by flientje on Wed, 03 Jul 2019 14:53:03 -0700
Gulp4.0 Getting Started Guide
install
Gulp website
gulp4.0 separates the cli from the core, so you need to install both packages separately, with the following environmental requirements:
node >= 8.11.1
npm >= 5.6.0
npx >= 9.7.1
Global Installation gulp-cli
npm i -g gulp-cli
Locally installed gulp
npm i -D gulp
View version number
$ gulp -v
# output
CLI version: ...
Posted by Navajo on Sun, 16 Jun 2019 09:14:44 -0700