@helsevestikt/hviktor-angular 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,11 +6,22 @@ Angular-komponenter basert på [Digdir Designsystemet](https://designsystemet.no
6
6
 
7
7
  ## Installasjon
8
8
 
9
+ ### Automatisk oppsett (anbefalt)
10
+
9
11
  ```bash
10
- npm install @helsevestikt/hviktor-angular
12
+ ng add @helsevestikt/hviktor-angular
11
13
  ```
12
14
 
13
- ## Oppsett
15
+ Dette installerer pakken og setter opp prosjektet automatisk:
16
+
17
+ - Legger til `@import '@helsevestikt/hviktor-angular/styles.css'` i stylesheet
18
+ - Spør om du vil installere og konfigurere **Tailwind CSS**. Valgritt, men anbefales for best mulig utvikleropplevelse.
19
+
20
+ ### Manuelt oppsett
21
+
22
+ ```bash
23
+ npm install @helsevestikt/hviktor-angular
24
+ ```
14
25
 
15
26
  Importer stylesheet i `src/styles.css`:
16
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helsevestikt/hviktor-angular",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=17.0.0 <22.0.0",