Skip to content

Instantly share code, notes, and snippets.

@zuhairkareem
Last active August 4, 2020 10:40
Show Gist options
  • Select an option

  • Save zuhairkareem/f1aeb897cebae59e812ceed443203229 to your computer and use it in GitHub Desktop.

Select an option

Save zuhairkareem/f1aeb897cebae59e812ceed443203229 to your computer and use it in GitHub Desktop.
Angular Tips

To analyze the bundle

npm install -g webpack-bundle-analyzer
ng build --stats-json
webpack-bundle-analyzer path/to/your/stats.json

Generate component in a path

ng g c components/your/path/component-name --module='module-name'

How to fix node-sass: gyp ERR! Can't find Python executable 'python' on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment