Message Boards
How to generate Liferay theme?
How to generate Liferay theme?
New Member Posts: 2 Join Date: 1/21/22 Recent PostsHi,
I use Liferay 7.3.1 and I am trying to generate, and deploy
a theme with a theme generator but I am not successful with
that.
Generating a theme is successful but when I try to build
it and deploy it I got errors about:
"compound selectors
may no longer be extended.
Consider `@extend .dropdown-item,
.disabled` instead.
See http://bit.ly/ExtendCompound for details."
The version of the generator and other stuff that I have installed
is:
node v16.13.2
generator-liferay-theme v10.2.0
gulp v4.0.2
npm v8.1.2
yo v4.3.0
Can somebody help me with how to generate and build a simple theme for Liferay 7.3.1?
RE: How to generate Liferay theme?
New Member Posts: 2 Join Date: 1/21/22 Recent PostsThe link that helped me to temporarily solve the issue:
https://stackoverflow.com/questions/70217507/liferay-theme-creation-error-during-gulp-build-and-gulp-deploy
RE: How to generate Liferay theme?
Regular Member Posts: 141 Join Date: 3/14/17 Recent PostsI've explained my solution in this thread: https://liferay.dev/ask/questions/development/issues-when-building-theme
These are the versions that work for me:
- nodejs 10.16.3
- gulp 3.9.1
- yeoman 3.1.1
- python 2.7.18
- generator liferay-theme 9.5.4
Regards