Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.
/ res Public archive

[Archived] :octocat: Resources for Codepen and other stuff for my website.

License

Notifications You must be signed in to change notification settings

EdricChan03/res

Repository files navigation

Resources

Resources for Codepen, my website and other stuff!

This project was generated with Angular CLI version 1.4.4.

Back to top

Serving locally

Run npm install to install all the dependencies (and devDependencies) required for the app to work.

Back to top

Downloading icons

Firstly, you have to download mdi.svg, which will be no longer included by default in the app. To proceed, enter this command in the terminal:

gulp default-icons

Back to top

Using the Angular CLI to serve

Run ng serve to serve the app. Specify the --open parameter to automatically open the app's page in a new tab on your default browser. Otherwise, open http://localhost:4200 on your browser.


Back to top

Gulp tasks

Back to top

default-icons ✅ STABLE

gulp default-icons

Executes the default workflow of using icons in the project.

Back to top

no-download-icons ✅ STABLE

gulp no-download-icons

Executes the same workflow as above, but assumes that you've already downloaded src/assets/mdi.svg.

Back to top

download-icons ✅ STABLE

gulp download-icons

Downloads the icons from https://materialdesignicons.com. Alternatively, you can download the icons yourself and place it under src/assets.

Back to top

Params

View the source code to see all the available parameters.

Back to top

--show-file-storage ⚠️ EXPERIMENTAL

gulp download-icons --show-file-storage

Currently not working right now. DO NOT USE.

Back to top

--show-file-transfer ✅ STABLE

gulp download-icons --show-file-transfer

Description: Shows the file transfer stats Preview:

### | 12% | 1.23KB / 6.78KB

Back to top

--verbose ⚠️ EXPERIMENTAL

gulp download-icons --verbose

Enables verbose logging. Currently a bit broken. Back to top


modify-icons ✅ STABLE

Modifies the icons to work with Angular Material 2/5.

Back to top