This package contains new ScandiPWA theme sources. Your parent theme is @scandipwa/scandipwa
.
In a new folder, run:
git clone https://github.com/Simicart/pagebuilder-module-scandipwa
cd pagebuilder-module-scandipwa
yarn install && yarn run start
Change your Pagebuilder credentials at src/component/Pagebuilder/Pagebuilder.config.js
export const endPoint = 'https://tapita.io/pb/graphql/';
export const integrationToken = 'INTEGRATION_TOKEN';
export const storeCode = ''
and change Magento URL at package.json
"proxy": "MAGENTO_URL"
For the best expirience, install scandipwa-cli
package globally. To do this, run:
npm i -g scandipwa-cli
Starts the development server (http://localhost:3000/).
Features:
- The page will automatically reload if you make any code changes.
- You will also see the build errors and lint warnings in the console.
Bundles the app into static files for production.
Note: To bundle your application as a 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 a ScandiPWA extension, run the 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.
- Files need to strictly follow eslint to be able to compile (a.k.a Please use eslint)