diff --git a/README.md b/README.md index 7c8f5bc..844f5c4 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,29 @@ Be aware npm might not work. ### Configure Plugins -You can activate and deactive Plugins in `src/boot/plugins.ts`. -You have to set the name of the Plugin into `config.loadModules`. +#### Installing a plugin + +Simply add it as a dependency and install it, for example installing the `pricelist`-plugin: + +```sh +yarn add '@flaschengeist/pricelist' +yarn install +``` + +#### Enable / Disable a plugin + +After installing a plugin you will have to enable it, +this is done by adding it to the `plugin.config.js` file. +For the example above the file should look like: + +```js +module.exports = [ + // pricelist plugin: + '@flaschengeist/pricelist', +]; +``` + +Remember to rebuild the project ### Configure Backend @@ -49,7 +70,7 @@ This access needs to be configured in `src/config.ts'->config.baseURL ### Build the application -```bash +```sh yarn quasar build ```