Liferay provides project templates that you can use to generate starter projects formatted in an opinionated way. These templates can be used by most build tools (e.g., Gradle, Maven, Liferay IDE) to generate your desired project structure.

Some popular project templates include

  • API project
  • Fragment project
  • MVC Portlet project
  • Service Builder project
  • Template Context Contributor project
  • Theme project (WAR)
  • etc.

If you’re using Blade CLI, execute the following command to display a full list of project templates:

blade create -l

If you’re using Maven, you can view and use the project templates as Maven archetypes. Execute the following command to list them:

mvn archetype:generate -Dfilter=liferay

Archetypes with the com.liferay.project.templates prefix are the latest templates offered by Liferay.

If you’re using Liferay IDE, navigate to FileNewLiferay Module Project and view the project templates from the Project Template Name drop-down menu.

In this section of reference articles, each project template is outlined with the appropriate generation command and folder structure. Visit the project template article you’re most interested in to start building your own project!

Activator Template

In this article, you’ll learn how to create a Liferay activator as a Liferay module. To create a Liferay activator via the command line using Blade CLI or Maven, use one of the commands with the...

Leer más

API Template

In this tutorial, you’ll learn how to create a Liferay API as a Liferay module. To create a Liferay API via the command line using Blade CLI or Maven, use one of the commands with the following...

Leer más

Control Menu Entry Template

In this article, you’ll learn how to create a Liferay Control Menu entry as a Liferay module. To create a Liferay Control Menu entry via the command line using Blade CLI or Maven, use one of the...

Leer más

Form Field Template

In this article, you’ll learn how to create a Liferay form field as a Liferay module. To create a Liferay form field via the command line using Blade CLI or Maven, use one of the commands with the...

Leer más

Fragment Template

In this article, you’ll learn how to create a Liferay fragment as a Liferay module. You can learn more about fragment modules in the Declaring a Fragment Host article and in section 3.14 of the...

Leer más

FreeMarker Portlet Template

In this article, you’ll learn how to create a Liferay FreeMarker portlet application as a Liferay module. To create a Liferay FreeMarker portlet application via the command line using Blade CLI or...

Leer más

Layout Template

In this article, you’ll learn how to create a Liferay layout template as a WAR project. To create a Liferay layout template via the command line using Blade CLI or Maven, use one of the commands...

Leer más

MVC Portlet Template

In this article, you’ll learn how to create a Liferay MVC portlet application as a Liferay module. To create a Liferay MVC portlet application via the command line using Blade CLI or Maven, use one...

Leer más

npm Angular Portlet Template

In this article, you’ll learn how to create an npm Angular portlet as a Liferay module. To create an npm Angular portlet via the command line using Blade CLI or Maven, use one of the commands with...

Leer más

npm Billboard.js Portlet Template

In this article, you’ll learn how to create an npm Billboard.js portlet as a Liferay module. To create an npm Billboard.js portlet via the command line using Blade CLI or Maven, use one of the...

Leer más

npm Isomorphic Portlet Template

In this article, you’ll learn how to create an npm Isomorphic portlet as a Liferay module. To create an npm Isomorphic portlet via the command line using Blade CLI or Maven, use one of the commands...

Leer más

npm jQuery Portlet Template

In this article, you’ll learn how to create an npm jQuery portlet as a Liferay module. To create an npm jQuery portlet via the command line using Blade CLI or Maven, use one of the commands with...

Leer más

npm Metal.js Portlet Template

In this article, you’ll learn how to create an npm Metal.js portlet as a Liferay module. To create an npm Metal.js portlet via the command line using Blade CLI or Maven, use one of the commands...

Leer más

npm Portlet Template

In this article, you’ll learn how to create an npm portlet as a Liferay module. To create an npmportlet via the command line using Blade CLI or Maven, use one of the commands with the following...

Leer más

npm React Portlet Template

In this article, you’ll learn how to create an npm React portlet as a Liferay module. To create an npm React portlet via the command line using Blade CLI or Maven, use one of the commands with the...

Leer más

npm Vue.js Portlet Template

In this article, you’ll learn how to create an npm Vue.js portlet as a Liferay module. To create an npm Vue.js portlet via the command line using Blade CLI or Maven, use one of the commands with...

Leer más

Panel App Template

In this article, you’ll learn how to create a Liferay panel app and category as a Liferay module. To create a Liferay panel app and category via the command line using Blade CLI or Maven, use one...

Leer más

Portlet Configuration Icon

In this article, you’ll learn how to create a Liferay portlet configuration icon as a Liferay module. To create a portlet configuration icon via the command line using Blade CLI or Maven, use one...

Leer más

Portlet Template

In this article, you’ll learn how to create a Liferay portlet application as a Liferay module. To create a Liferay portlet application via the command line using Blade CLI or Maven, use one of the...

Leer más

Portlet Provider Template

In this article, you’ll learn how to create a Liferay portlet provider as a Liferay module. To create a Liferay portlet provider via the command line using Blade CLI or Maven, use one of the...

Leer más

Portlet Toolbar Contributor Template

In this article, you’ll learn how to create a Liferay portlet toolbar contributor as a Liferay module. To create a portlet toolbar contributor entry via the command line using Blade CLI or Maven,...

Leer más

REST Template

In this article, you’ll learn how to create a Liferay RESTful web service packaged in a Liferay module. To create a Liferay RESTful web service via the command line using Blade CLI or Maven, use...

Leer más

Service Template

In this article, you’ll learn how to create a Liferay service as a Liferay module. To create a Liferay service via the command line using Blade CLI or Maven, use one of the commands with the...

Leer más

Service Builder Template

In this article, you’ll learn how to create a Liferay portlet application that uses Service Builder as Liferay modules. To create a Liferay Service Builder project via the command line using Blade...

Leer más

Service Wrapper Template

In this article, you’ll learn how to create a Liferay service wrapper as a Liferay module. To create a Liferay service wrapper via the command line using Blade CLI or Maven, use one of the commands...

Leer más

Simulation Panel Entry Template

In this article, you’ll learn how to create a Liferay simulation panel entry as a Liferay module. To create a simulation panel entry via the command line using Blade CLI or Maven, use one of the...

Leer más

Soy Portlet Template

In this article, you’ll learn how to create a Soy portlet application as a Liferay module. To create a Soy portlet as a module via the command line using Blade CLI or Maven, use one of the commands...

Leer más

Spring MVC Portlet Template

In this article, you’ll learn how to create a Liferay Spring MVC portlet application as a WAR. To create a Liferay Spring MVC portlet via the command line using Blade CLI or Maven, use one of the...

Leer más

Template Context Contributor Template

In this article, you’ll learn how to create a Liferay template context contributor as a Liferay module. To create a template context contributor via the command line using Blade CLI or Maven, use...

Leer más

Theme Template

In this article, you’ll learn how to create a Liferay theme as a WAR project. To create a Liferay theme via the command line using Blade CLI or Maven, use one of the commands with the following...

Leer más

Theme Contributor Template

In this article, you’ll learn how to create a Liferay theme contributor as a Liferay module. To create a theme contributor via the command line using Blade CLI or Maven, use one of the commands...

Leer más

WAR Hook Template

In this article, you’ll learn how to create a Liferay WAR hook project. To create a Liferay WAR hook via the command line using Blade CLI or Maven, use one of the commands with the following...

Leer más

WAR MVC Portlet Template

In this article, you’ll learn how to create a Liferay MVC portlet project as a WAR file. To create a Liferay MVC portlet project as a WAR via the command line using Blade CLI or Maven, use one of...

Leer más
0 (0 Votos)
XML Formatter Plugin Anterior