basic Serenity Installation issues...

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
egimessi
Posts: 3
Joined: 14 Mar 2018, 18:23

16 Mar 2018, 18:02

dear all
Apparently is very easy but not working for me. I get this error:


I copied the folders in the right locations as per the docs. Also copied serenity-theme-1.0.2.jar into WEB-INF/lib
"Error loading css, cannot find "theme.css" resource of "primefaces-serenity" library"
added into web.xml

Code: Select all

  <context-param>
	<param-name>primefaces.THEME</param-name>
	<param-value>serenity</param-value>
  </context-param>
this happens even if i try to load the empty page.

egimessi
Posts: 3
Joined: 14 Mar 2018, 18:23

17 Mar 2018, 01:46

Could anybody please post a short explanation how to compile the css and what goes in what folder and the commands to use? the docs apparently deal only with creating an own theme and not how to simply install the theme from scratch compiling with sass.
Assuming no knowledge of sass and no maven installed. thanks

huseyinT
Posts: 123
Joined: 27 Mar 2016, 13:05

19 Mar 2018, 21:32

Issue :
Error loading css, cannot find "theme.css"

Solution :
For fix issue, you copy and paste following into the command line:

sass -w src/main/webapp/resources/ --sourcemap=none

You can read this page: http://primefaces.org/serenity/docs.xhtml

-----

Change for style(css/scss):

You find src/main/webapp/resoures , and you will see our css/scss files.

You can do change according to your needs.

You should use ' sass -w src/main/webapp/resources/ --sourcemap=none ' for seeing the changed style.

You never close your command line (terminal) during to changing.

Greetings,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests