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

CSS doesn't seem to apply #2

Open
dails08 opened this issue Sep 6, 2024 · 0 comments
Open

CSS doesn't seem to apply #2

dails08 opened this issue Sep 6, 2024 · 0 comments

Comments

@dails08
Copy link

dails08 commented Sep 6, 2024

While the npm command installs the package and it seems to import with no problems in the ts file of a component, the CSS rules do not seem to apply to the component at render time. This happens whether or not options variables are included in the ts file.

image

Steps to reproduce the behavior:

  1. Create new angular project: npm init; ng new projectName; npm install --save @ngu/jsoneditor
  2. Import JsonEditorComponent from '@ngu/jsoneditor'; add
  3. ng serve
  4. localhost:4200

Expected behavior
A json editor that looks like the screenshots on the various websites

Console and Error stack trace
image

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • Browser: Firefox 129.0.2 (64-bit)
  • Ng Version [run ng version and paste here]
    Angular CLI: 17.3.9
    Node: 20.10.0
    Package Manager: npm 10.2.3
    OS: win32 x64

Angular: 17.3.12
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1703.9
@angular-devkit/build-angular 17.3.9
@angular-devkit/core 17.3.9
@angular-devkit/schematics 17.3.9
@angular/cli 17.3.9
@schematics/angular 17.3.9
rxjs 7.8.1
typescript 5.4.5
zone.js 0.14.10

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

No branches or pull requests

1 participant