Open Closed

Lepton theme Template with Angular does not work #3954


User avatar
0
tbott@webcreek.com created

Using Abp Suite - v 6.0.0

Creating a new solution - Application template - Angular - Lepton theme - All toggled options off (Separate Identity server etc)

yarn start fails with an error - An unhandled exception occurred: ENOENT: no such file or directory, lstat 'C:\Work\Data\Projects\BLIMS\Application2\angular\node_modules@volosoft

Looking at the angular.json file, it looks like there are a bunch of css files referenced from @volosoft-ngx-lepton-x.

If I add the package manually to package.json (copied it from a solution I built which was using lepton-x template) yarn start succeeds but the styles are completely broken on the site, looks like it is looking for css files lepton1.css and lepton6.css which are not present


1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    Yes, there was an issue in version 6.0.0. it does not add styles to angular.json. If you add and remove unused styles, it will work well. here,

    https://github.com/abpframework/abp/blob/dce0cf7a6f2db9aa738fa2b15e1d6c2a627ccdc9/docs/en/UI/Angular/Theme-Configurations.md

    You should remove leptonX theme and add lepton styles.

    Your credit has been refunded.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38