Jump to content

Edit History

pepperz

pepperz

I have created a child theme (parent: classic theme) but I don't understand what to do about assets and wepack compiling.

I'd like to use scss files and compile them to css.

Do I have to copy classic/_dev directory to my child theme?
Create a _dev directory in my theme and keep only overrides there?

Is there any guide about this?

parent: classic
name: mytheme
display_name: Mytheme
version: 1.0.0
assets:
  use_parent_assets: true
  css:
    all:
      - id: custom-styles
      path: assets/css/custom.css

 

pepperz

pepperz

I have created a child theme (parent: classic theme) but I don't understand what to do about assets and wepack compiling.

I'd like to use scss files and compile them to css.

Do I have to copy classic/_dev directory to my child theme?
Create a _dev directory in my theme and keep only overrides there?

Is there any guide about this?

×
×
  • Create New...