Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 1.32 KB

README.md

File metadata and controls

63 lines (51 loc) · 1.32 KB

book-monkey5-styles

This repository contains the global stylesheet to be used within the example application "BookMonkey5" used in the German Angular Book.

⚠️ This CSS Stylesheet is not used in the BookMonkey Versions (2-4) of the "Angular Buch".

Usage

Install the NPM package from the registry:

npm i --save book-monkey5-styles

Then you can import the CSS file via @import in your styles.css file:

@import 'book-monkey5-styles/styles.css';

Alternatively you can include the stylesheet in the Angular build process using via the angular.json config file:

{
  /* ... */
  "projects": {
    "book-monkey": {
      /* ... */
      "architect": {
        "build": {
          /* ... */
          "options": {
            /* ... */
            "styles": [
              "src/styles.css",
              "node_modules/book-monkey5-styles/styles.css"
            ],
            /* ... */
          },
          /* ... */
        },
        /* ... */
        "test": {
          /* ... */
          "options": {
            /* ... */
            "styles": [
              "src/styles.css",
              "node_modules/book-monkey5-styles/styles.css"
            ],
            /* ... */
          }
        },
        /* ... */
      }
    }
  },
  /* ... */
}