Hi,
we just bought the theme as extended version and now we would like to use the theme in different (already existing and based on a free primeng theme) projects. But we wonder what would the best way to go:
1) Import the scss files etc. in each project and make all the development within each project (but also have more work when updating or fixing things in the "main theme").
2) Keep the theme in a separate project, create sub-themes for each project?
2a) and deploy the resulting css to the product
2b) use the resulting theme as a dependency via npm?
Do you have any suggestions?
Best Practice
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
By theme do you mean the theme.css for the PrimeNG components or the whole layout, in our terms;
- theme: PrimeNG Components Theme
- layout: App layout like topbar, sidebar menu, footer and main content
- template: theme + layout e.g. Roma Template
- theme: PrimeNG Components Theme
- layout: App layout like topbar, sidebar menu, footer and main content
- template: theme + layout e.g. Roma Template
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I think 2 could be a better option, you may publish the app.main.component in a local npm repository and import it from there.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests