book-monkey5-styles

A global stylesheet to be used for the application "BookMonkey"


Keywords
BookMonkey, Angular, Buch, CSS, Stylesheet
License
MIT
Install
npm install book-monkey5-styles@1.0.4

Documentation

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) from the "Angular Buch".

Usage

Install the NPM package from the registry:

npm i --save book-monkey5-styles

Then 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"
            ],
            /* ... */
          }
        },
        /* ... */
      }
    }
  },
  /* ... */
}

Alternatively you can import the CSS file via include in your styles.css file:

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