How to use Omega on a existing angular project?

Post Reply
kaare
Posts: 1
Joined: 03 Jul 2019, 20:20

03 Jul 2019, 20:37

Hi,

I was following the OMEGA Documentation: https://www.primefaces.org/omega-ng/#/documentation

on how to Integration with an Existing CLI Project, and I copy the src/assets,

however in the section on what to add to style :
"styles": [
"../node_modules/primeng/resources/primeng.min.css", //required: PrimeNG components
"node_modules/primeicons/primeicons.css", //required: PrimeIcons
"styles.scss" //your styles and overrides
],

It didn't state to use:
"src/assets/layout/css/layout.css", // where the file to copy from

And also in the project of the omega-ng, it uses "node_modules/primeng/resources/themes/nova-light/theme.css", does that mean the omega theme uses the nova also?

merve7
Posts: 623
Joined: 12 Sep 2017, 10:44

08 Jul 2019, 14:03

Hi,
Yes, Omega uses nova-light theme and you need to add nova-light and layout.css files in your angular.json file. Also if you use fullcalendar and editor components, you need to add fullcalendar and quill stylesheet files.

Code: Select all

 "styles": [
          "node_modules/font-awesome/css/font-awesome.min.css",	
          "node_modules/primeng/resources/themes/nova-light/theme.css",
          "src/assets/layout/css/layout.css",
          "node_modules/primeicons/primeicons.css",
          "node_modules/primeng/resources/primeng.min.css",
          "src/styles.css"
]

azulBonnet
Posts: 3
Joined: 25 Jun 2019, 17:19

09 Apr 2020, 22:33

We just bought Omega only to get the Omega theme (on my boss's account). We were previously on the Omega theme but then it was dropped off so we'd just saved the old CSS but now wanted to update to Angular 9 so we thought we ought to buy the theme since it was no longer free. Did we just buy it for nothing?

cagatay.civici
Prime
Posts: 18357
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Aug 2020, 13:03

Please contact contact@primetek.com.tr for non technical cases. You may switch it to another template as well considering the pricing differences.

Post Reply

Return to “Omega - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests