...
Code Block | ||||
---|---|---|---|---|
| ||||
export { default as ContactTemplate } from './ContactTemplate'; |
Build script that can The path for the index.js file is specified in the ClientLogic repository package.json file as a ENV variable, VUE_APP_TEMPLATE_PATH
eg:
Code Block | ||
---|---|---|
| ||
"build:vue": "cross-env VUE_APP_TEMPLATE_PATH=../../../../../custom-webui/Template/index npm run build --prefix ../../Akioma/swat-webui/vue",
|
Build script that needs to be used from custom ClientLogic repository to rebuild the Template files:
Code Block |
---|
npm run build:templatesvue |
In the custom Vue component the developer can use the akioma vue mixin for helper methods. callAkiomaCode is available in this mixin and can be applied on different events(click, mouseenter...) and using the vue events in templates.
...