- Notifications
You must be signed in to change notification settings - Fork221
Novo Projeto Dom Vazio#2422
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Bom dia, Estou iniciando com o PO-UI, ao criar um projeto angular (ng new --sytle=css --ssr=false), quando dou o ng serve --open funciona. Ao adicionar o PO-UI (ng add @po-ui/ng-components@latest) o app.config.ts é alterado e depois disso o DOM fica vazio. <body><app-root></app-root><scriptsrc="polyfills.js"type="module"></script><scriptsrc="main.js"type="module"></script></body> Se eu comentar a linha do app.config.ts que tem o código: importProvidersFrom([PoHttpRequestModule]), volta a reinderizar o DOM padrão do Angular. Segue meu package.json: {"name":"pouiteste","version":"0.0.0","scripts": {"ng":"ng","start":"ng serve","build":"ng build","watch":"ng build --watch --configuration development","test":"ng test" },"private":true,"dependencies": {"@angular/common":"^19.2.0","@angular/compiler":"^19.2.0","@angular/core":"^19.2.0","@angular/forms":"^19.2.0","@angular/platform-browser":"^19.2.0","@angular/platform-browser-dynamic":"^19.2.0","@angular/router":"^19.2.0","@po-ui/ng-components":"^19.5.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.15.0" },"devDependencies": {"@angular-devkit/build-angular":"^19.2.3","@angular/cli":"^19.2.3","@angular/compiler-cli":"^19.2.0","@types/jasmine":"~5.1.0","jasmine-core":"~5.6.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","typescript":"~5.7.2" }} |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
Olá@renanpaiva64 ! Para entendermos melhor o erro, você seguiu os passos descritos na nossa documentação?Guia de Introdução ? Caso já tenha seguido e o problema persista, poderia compartilhar mais detalhes como erros no console? |
BetaWas this translation helpful?Give feedback.