5.0.0 • Published 1 year ago
mollie-shopwarepwa v5.0.0
Nuxt Mollie
Shopware pwa Nuxt plugin for Mollie payment
Preconditions
- Shopware6 Mollie plugin is installed and configured
Installation and Configuration
Install the module via yarn
yarn add mollie-shopwarepwa
Add the module in nuxt.config.js
and configure like following:
export default extendNuxtConfig({
...
modules: [ 'mollie-shopwarepwa'],
mollie: {
profile: [MOLLIE_PROFILE],
testmode: true,
tagline: true,
components: ['Credit-card', 'iDEAL']
},
})
Restart the app with yarn dev
The module is now configured and ready to use
Development
The module is now located in node_modules/mollie-shopwarepwa
but we don't want to work on the node_modules folder.
So clone it in the project root git clone git@bitbucket.org:sandermangel/mollie-shopwarepwa.git
(the repository probably will change) and link it to node_modules
cd mollie-shopwarepwa
npm link
cd ../
npm link mollie-shopwarepwa
Please before adding code to this project enable the esLint plugin in your favourite editor