Skip to content

Simicart/pagebuilder-module-scandipwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Create ScandiPWA App

This package contains new ScandiPWA theme sources. Your parent theme is @scandipwa/scandipwa.

Installation

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"

Recommended packages

For the best expirience, install scandipwa-cli package globally. To do this, run:

npm i -g scandipwa-cli

Available Commands

yarn start

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.

yarn build

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

Extensions

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 under packages folder.

Note

  • Files need to strictly follow eslint to be able to compile (a.k.a Please use eslint)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published