Calling Developers!
We are reenergizing our code contribution process! Learn More

Hey Team, I have created a theme same as default with different name and i am trying to set as defau

Options
U04SGT8JDL3
U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet
edited June 2023 in Spryker Development

Hey Team, I have created a theme same as default with different name and i am trying to set as default and extended TwigConfig file and getYvesThemeNameDefault() function and also set defaultTheme in frontend-build-config.json but when i run command it gives me error.

Comments

  • Hidran Arias
    Hidran Arias Senior Technical Trainer Sprykee Posts: 73 🏛 - Council (mod)
    edited March 2023
    Options

    Could you please try this:?
    set in frontend-build-config.json defaultTheme to default and then run
    npm run yves:watch -- -t green

    It should work and generate the assets for the green theme

  • U04SGT8JDL3
    U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet
    edited March 2023
    Options

    i have tried that and my assets are also generating but it is no working.

  • U04SGT8JDL3
    U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet
    Options