shopware-cms-helper
v1.3.4
Published
Create Shopware cms element and block structure
Downloads
7
Readme
Create Shopware cms element and block structure
🏠 Homepage
Prerequisites
- npm >=8.11.0
- node >=16.16.1
Install
npm i shopware-cms-helper -g
Usage
go to your plugin folder e.g. custom/plugins/MyPlugin
and run the following command
npx shopware-cms-helper
Choose your desired options and the plugin will create the necessary files for you
After this, you can add the new element/block to your main.js inside of "YourPlugin/src/Resources/app/administration/src" like:
import './module/sw-cms/elements/test';
import './module/sw-cms/blocks/test';
and run:
psh.phar administration:build
If you dont have a psh.phar file, you can get it with this commands:
wget https://shopwarelabs.github.io/psh/psh.phar
chmod +x psh.phar
Now you should have a new element/block in your storefront administration
Author
👤 Kevin Dohlen
- Website: https://www.webaix.de
- Github: @Peeet93
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator