STEP-4 Creating ScandiPWA Extension with additional dependencies
Create scandipwa extension using scandipwa-cli, for that navigate to your theme folder, and execute
scandipwa extension create @scndipwa/vesrion
{
"name": "@scandipwa/version",
"version": "0.0.0",
"license": "OSL-3.0",
"scandipwa": {
"type": "extension"
},
"dependencies": {
"axios": "0.22.0"
},
"eslintConfig": {
"extends": "@scandipwa"
}
}
3. From them folder execute npm install
Useful Materials ScandiPWA CLI
PreviousSTEP-3 Accessing Magento 2 Controller, Bypassing ScandiPWA frontendNextSTEP-5 Creating Plugin and Axios request
Last updated
Was this helpful?