release v2.0.0 #4
27
README.md
27
README.md
|
@ -36,8 +36,29 @@ Be aware npm might not work.
|
||||||
|
|
||||||
### Configure Plugins
|
### Configure Plugins
|
||||||
|
|
||||||
You can activate and deactive Plugins in `src/boot/plugins.ts`.
|
#### Installing a plugin
|
||||||
You have to set the name of the Plugin into `config.loadModules`.
|
|
||||||
|
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
|
### Configure Backend
|
||||||
|
|
||||||
|
@ -49,7 +70,7 @@ This access needs to be configured in `src/config.ts'->config.baseURL
|
||||||
|
|
||||||
### Build the application
|
### Build the application
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
yarn quasar build
|
yarn quasar build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue