File tree 1 file changed +0
-26
lines changed
grails-app/views/speciesListItem
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 990
990
</tr>
991
991
</thead>
992
992
<tbody>
993
- %{-- <div v-scope="SpeciesList(JSON.parse(' ${json_results} ' ))" @vue:mounted="mounted"></div>--}%
994
993
995
994
<g:each var="result" in="${ results } " status="i">
996
995
<g:set var="recId" value="${ result. id } "/>
1184
1183
});
1185
1184
</asset:script>
1186
1185
1187
- <script type="module">
1188
- import { createApp } from ' https: //unpkg.com /petite-vue?module '
1189
- function SpeciesList(data) {
1190
- return {
1191
- $template: ' #display-species-list ' ,
1192
- speciesList: data,
1193
- mounted() {
1194
-
1195
- },
1196
-
1197
- click() {
1198
- alert("i am vue")
1199
- },
1200
-
1201
- save() {
1202
- alert("saved")
1203
- }
1204
-
1205
- }
1206
- }
1207
-
1208
- createApp({
1209
- SpeciesList
1210
- }).mount()
1211
- </script>
1212
1186
<template id="display-species-list">
1213
1187
1214
1188
<table>
You can’t perform that action at this time.
0 commit comments