gl-icons-assets

Common icons to be used on web applications.


Keywords
svg, image, icons, web-icons, ng-icons, angular styles
License
ISC
Install
npm install gl-icons-assets@1.5.0

Documentation

gl-icons-assets

version downloads downloads

What is this repository for?

This package (glaucioleonardo-assets-icons) is a Common icons to be used on web applications.

Table of contents

  1. Dependencies-peer:

  2. Configurations:
    1.1. Configuring assets
    1.2. Configuring external links / urls from anchors
    1.3. Configuring side menu

Configuring assets

Inside the angular.json you need including the following information:

{
    "glob": "**/*",
    "input": "node_modules/gl-icons-assets/assets",
    "output": "/assets"
}

The output assets could be another path according to your setup.

Here is how the assets angular.json should be:

{
  ...
  "projects": {
    "lessons-learned-angular": {
      ...
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            ...
            "assets": [
              ...,
              {
                "glob": "**/*",
                "input": "node_modules/gl-icons-assets/assets",
                "output": "/assets"
              },
              ...
            ],
            ...
          },
          ...
        },
        ...
      }
    }},
  ...
}