Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular: add info about standalone and directives #6970

Merged

Conversation

vladaskorohodova
Copy link
Collaborator

No description provided.

@@ -1,4 +1,19 @@
Go to the `NgModule` in which you are going to use DevExtreme UI components and import the required DevExtreme modules. Note that if [tree shaking](/concepts/40%20Angular%20Components/40%20Common%20Features/10%20Tree%20Shaking.md '/Documentation/Guide/Angular_Components/Common_Features/Tree_Shaking/') is configured in your application, you can import the modules from `devextreme-angular`. Otherwise, you should import them from specific files.
If you use [standalone](https://angular.dev/guide/components) components, import the modules as following:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you use [standalone](https://angular.dev/guide/components) components, import the modules as following:
If you use [standalone](https://angular.dev/guide/components) components, import the modules as show below:

includes/ng-import-devextreme-modules.md Outdated Show resolved Hide resolved
@vladaskorohodova vladaskorohodova merged commit 58901ec into DevExpress:24_2 Jan 9, 2025
5 checks passed
@vladaskorohodova vladaskorohodova deleted the angular-additions24_2 branch January 9, 2025 13:51
vladaskorohodova added a commit to vladaskorohodova/devextreme-documentation that referenced this pull request Jan 9, 2025
vladaskorohodova added a commit to vladaskorohodova/devextreme-documentation that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants