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

PO UI com SSR #2131

Open
efdeiasoliveira opened this issue Jul 4, 2024 · 0 comments
Open

PO UI com SSR #2131

efdeiasoliveira opened this issue Jul 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@efdeiasoliveira
Copy link

Descrição da melhoria

Já existe alguma forma de trabalhar ou estudo voltado para trabalhar com SSR e PO UI na v17 do Angular ?

Caso de uso

Quando crio um projeto Angular 17 com o PO UI e executo o ng serve ocorre o erro abaixo:

Error when evaluating SSR module /main.server.mjs:
|- ReferenceError: window is not defined
at <static_initializer> (eval at instantiateModule (file:///Volumes/SAMSUNG%20320/totvs/poui/study/my-pets-v17/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50858:28), :42675:36)
at eval (eval at instantiateModule (file:///Volumes/SAMSUNG%20320/totvs/poui/study/my-pets-v17/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50858:28), :42667:21)
at async instantiateModule (file:///Volumes/SAMSUNG%20320/totvs/poui/study/my-pets-v17/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50861:9)

Informações adicionais

Somente gostariamos de saber se já há existe alguma forma de trabalhar com o SSR.

@efdeiasoliveira efdeiasoliveira added the enhancement New feature or request label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant