Giter Site home page Giter Site logo

lfr-angular-remote-app's Introduction

bonjour ๐Ÿปโ€โ„๏ธ

I work at Liferay. I like open source stuff. I like to help.

Because of all of the above, you'll find many repositories to help Liferay developers.

Liferay CLI Card Liferay Upgrade Action Card Liferay Cloud Upgrade Action Card Liferay Starter Card Liferay Healthcheck Card Liferay Product Info Card


github stats

top langs

awesome cards made possible by @anuraghazra

lfr-angular-remote-app's People

Contributors

lgdd avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

georgel-pop-lr

lfr-angular-remote-app's Issues

Bug when we refresh the page

Hello Louis-Guillaume,

I try your wonderfull Angular 14 RemoteApp and it works well.

I deploy it with a ng serve on port 4200 and create my remoteApp in Liferay 7.4 GA38.
I have to add many URLs do to my RemoteApp :

URL: http://localhost:4200/runtime.js
URL: http://localhost:4200/polyfills.js
URL: http://localhost:4200/vendor.js
URL: http://localhost:4200/main.js
URL http://localhost:4200/styles.js
CSS URL: http://localhost:4200/styles.css

And I do not check the option "Use ES Modules".

After that, when I go on my page the RemoteApp portlet is OK.
But if I refresh it, it fails and if I go to the page with the URL and not with the menu it fails.

After that, if I try to check the option "Use ES Modules".
The reverse happens !

If I go with the menu, it fails but if I load the page or do a refresh it works !
So I try to desactivate SPA on this page by adding '<a href="/my-page" data-senna-off="true" '> in the link of the menu... it works !!!

Do you have this problem too ? Is it a problem with the 7.4 GA38 version or with the Angular portlet ???
Last week I was on a older version (GA34) and I do not remember having this problem with your RemoteApp portlet !

Eric.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.