package.json
field scandipwa.type
equal to theme
. For example:start
and build
scripts. You can read more about them in the "Getting started" section.package.json
field scandipwa.parentTheme
equal to intended parent theme package name.scandipwa.parentTheme
in package.json
. The parent theme package should be listed among of your package dependencies
.package.json
could look like this:SourceComponent
alias appearing in the begging of the import. This allows to define shorter import paths. This alias is composed from a folder inside of the src
and the prefix of the theme. The @scandipwa/scandipwa
theme has a prefix Source
. The src
folders which support this mapping are:./src/style
./src/component
./src/route
./src/util
./src/query
./src/type
./src/store
scandipwa.themeAlias
field in package.json
. The value you define in this field will be used as your theme prefix. You can do it like this: