Tag: update

Adding SASS Support in Angular Projects

Once the project is generated with Angular/CLI, set default style extension:

ng set defaults.styleExt scss

After you have generated a new component:

ng g c MyComponent

you will see MyComponent.scss in your MyComponent folder.

If you open the scss-file, WebStorm will ask you, if you want to add file-watchers for this type of extension. This procedure is normally not necessary, because angular/cliwill generate and update your project automatically.

Anyway, If you want to add file-watcher for SCSS (on McOS):

  1.  brew install ruby
  2. gem install sass

WebStorm will automatically recognize the installation path (on McOS /usr/local/bin/scss).

CentOS Security Updates

yum -y update --security
yum update --cve CVE-2008-0947

Related Links:

Yarn vs NPM

Commons: init, link, outdated, publish, run, cache clean, login, logout, test
npm install
npm install foo --save
yarn add foo
npm uninstall foo --save
yarn remove foo
npm install foo --save-dev
yarn add foo --dev
npm update --save
yarn upgrade
npm install foo@latest --save
yarn add foo
npm install foo --global
yarn add foo global
npm install npm@latest
yarn self-update
npm install --production
yarn --production
Only Yarn
yarn licenses ls
yarn licenses generate-disclaimer
yarn why foo
yarn upgrade-interactive
Only NPM
npm xmas
npm visnup

Copyright © 2020 EBIA

Theme by Anders NorenUp ↑