History: PluginVue
Source of version: 2 (current)
- «
- »
Copy to clipboard
! Plugin Vue Introduced in Tiki21, this ((wiki plugin)) allows you to add a Vue.js component !! Parameters {pluginmanager plugin="vue"} !! Example ''This code:'' {CODE(colors="tiki")} {VUE(app="y" name="AppTest")} <script> export default { data() { return { greeting: 'Hello World!' } } } </script> <template> <p class="greeting">{{ greeting }}</p> </template> <style> .greeting { color: red; font-weight: bold; } </style> {VUE} {CODE} ''Would produce:'' {VUE(app="y" name="AppTest")} <script> export default { data() { return { greeting: 'Hello World!' } } } </script> <template> <p class="greeting">{{ greeting }}</p> </template> <style> .greeting { color: red; font-weight: bold; } </style> {VUE}