Skip to content

Commit

Permalink
Enhance Carbon installation section with additional configuration det… (
Browse files Browse the repository at this point in the history
#4311)

* Enhance Carbon installation section with additional configuration details

- Added notes on the usefulness of links based on Angular and Carbon versions.
- Highlighted variations in Carbon configuration and styles.scss.
- Included links to "Getting Started with Carbon for Angular" and "Carbon Design System Documentation."

* chore: yarn format

* Update explanatory text with additional details on Angular and Carbon versions, component info, and configuration variations

---------

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Kritvi <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent beb7aea commit 6c4d6d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/developing/angular-tutorial/step-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,23 @@ carbon-angular-tutorial
### Install Carbon

Even though we installed some dependencies while creating the new app, we've yet
to install the Carbon packages.
to install the Carbon packages:

- `carbon-components` - Component styles
- `carbon-components-angular` - Angular components
- `@carbon/icons` - Carbon icons

Run the following command to install the packages:

```bash
npm install carbon-components carbon-components-angular @carbon/icons
```

The following links can be useful depending on the versions of Angular and Carbon you wish to use. They provide detailed information about the components and the global configuration of the design system. Additionally, they may cover alternative methods for configuring Carbon, which can vary based on the Angular version and any additional libraries available. Keep in mind that the configuration for 'styles.scss' may also vary.:

- [Getting Started with Carbon for Angular](https://angular.carbondesignsystem.com/?path=/docs/getting-started--docs)
- [Carbon Design System Documentation](https://angular.carbondesignsystem.com/documentation/index.html)

#### Import carbon-components styles

In `src/styles.scss`, import the Carbon styles by adding the following to the
Expand Down

0 comments on commit 6c4d6d8

Please sign in to comment.