This package contains new ScandiPWA theme sources. Your parent theme is @scandipwa/scandipwa
.
Before you start, make sure to install package dependencies.
To do this, use yarn
or npm i
command.
For the best expirience, install scandipwa-cli
package globally. To do this, run:
npm i -g scandipwa-cli
Starts the development server.
Features:
- The page will reload if you make edits.
- You will also see any lint errors in the console.
Bundles the app into static files for production.
Note: To bundle your application as valid Magento 2 theme use
--magento
option.
Features:
- The build is minified and the filenames include the hashes.
- The build is optimized for the best performance
To install an extension, run following command:
scandipwa extension <EXTENSION NAME>
Note: to create new extension add
--create
option after the command. This will create a new extension package underpackages
folder.