2.3.2 • Published 3 years ago

@sprengnetterat/ng-sprengnetter v2.3.2

Weekly downloads
31
License
-
Repository
-
Last release
3 years ago

📦 Installation

Install @sprengnetterat/ng-sprengnetter with npm or yarn

npm install @sprengnetterat/ng-sprengnetter

📃 Styles

Import the sass styles in angular.json:

{
  "styles": [
    "node_modules/@sprengnetterat/ng-sprengnetter/ng-sprengnetter.scss"
  ]
}

or

Import the pre-built styles in angular.json:

{
  "styles": [
    "node_modules/@sprengnetterat/ng-sprengnetter/ng-sprengnetter.min.css"
  ]
}

📁 Assets

Add glob pattern to angular.json:

{
  "assets": [
    {
      "glob": "**/*",
      "input": "node_modules/@sprengnetterat/ng-sprengnetter/assets/",
      "output": "/assets/"
    }
  ]
}

🔎 Usage

Import the component modules that you want to use into the app.module.ts file and feature modules.

Taking the following SnIconModule module as an example, first import the component module:

import { NgModule } from '@angular/core';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [NzButtonModule],
})
export class AppModule {}

Then use the component inside the template:

<sn-icon snName="plus-circle"></sn-icon>

⌨️ Development

🔨 Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

🎯 Unit tests

Run nx test to execute the unit tests via Jest.

Run nx affected:test to execute the unit tests affected by a change.

2.3.2

3 years ago

2.3.0

3 years ago

2.3.1

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.12

3 years ago

2.1.13

3 years ago

2.1.11

3 years ago

2.1.9

3 years ago

2.1.10

3 years ago

2.1.8

3 years ago

2.1.6

3 years ago

2.1.7

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.3

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago