Foros de discusión

Create a SPA by modifying theme

Viktor Dzundza, modificado hace 7 años.

Create a SPA by modifying theme

New Member Mensajes: 16 Fecha de incorporación: 16/09/16 Mensajes recientes
Hi there,

I've found one workaround how to implement SPA within Liferay. It's a modifying theme with SPA framework JS files and applies this theme to a page.

Does anyone know another approach?

I've found this text in the documentation

On the front-end, Liferay has kept pace with the most recent progressions in that space. If you’ve used Liferay in the past, you can of course continue to use Liferay’s venerable Alloy UI, but you are also free to use the front-end technologies you love the most:

Bootstrap
SaSS
EcmaScript 2015 (using Babel.js)
You can also use any JavaScript library, including

Metal.js (developed by Liferay)
jQuery (included)
Lodash (included)
Angular 1 or 2
React
Your library of choice



What does it mean by words "you can use any" ?

Angular 1,2, react, Ember are not just libraries for manipulation with DOM.

So as I understood, Liferay portlets doesn't support a SPA framework and can not utilise all features and advantages of SPA frameworks.

I see the architecture diagram where we have Framework icons (Angular, react) and relations to API.

What did the Liferay development team mean by this one?

Need the answer from Liferay team.