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

adding devextreme to angular 6 + cli 6 #775

Closed
SanderElias opened this issue May 4, 2018 · 2 comments
Closed

adding devextreme to angular 6 + cli 6 #775

SanderElias opened this issue May 4, 2018 · 2 comments
Assignees
Labels

Comments

@SanderElias
Copy link

SanderElias commented May 4, 2018

devexteme version:  "^17.2.7",
devextreme-angular version: "^17.2.7",

(tried with 18 too)

  • Specify the type of the issue (check one with "x"):
    [x] bug Report
    [ ] feature request
    [ ] support inquiry

If I follow the instructions and add the css files to the angular.json, this is what happens on build:
image

steps to reproduce:

ng new demo
cd demo
yarn add  devextreme devextreme-angular
// open editor and add css files to `angular.json` 
ng build

My Angular version:

Angular CLI: 6.0.0
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

How can I prevent this error?

@GoshaFighten GoshaFighten self-assigned this May 4, 2018
@GoshaFighten
Copy link
Contributor

The root Angular CLI folder is now your project folder. So, you don't need to use '../' any more. We updated the Using the DevExtreme Angular Components with Angular CLI accordingly.

@SanderElias
Copy link
Author

@GoshaFighten Thanks, that got it fixed, but it then directly landed me on: #776
Perhaps it's worth to mention that in the docs too? for the time it's still needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants