Skip to content

Commit

Permalink
Enhance Carbon installation section with additional configuration det…
Browse files Browse the repository at this point in the history
…ails

- 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."
  • Loading branch information
pedroHenriqueMaia authored Oct 4, 2024
1 parent ffaf1fe commit a8bb48b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pages/developing/angular-tutorial/step-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,24 @@ carbon-angular-tutorial

### Install Carbon

Even though we installed some dependencies while creating the new app, we've yet
to install the Carbon packages.
Even though we installed some dependencies while creating the new app, we've yet 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
```

These links can be useful depending on the version of Angular and Carbon you want to use. They provide deeper details about the components and the global configuration of the design system. Additionally, they may cover other ways to configure Carbon, which can vary based on the Angular version, as there may be additional or different 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 a8bb48b

Please sign in to comment.