Skip to content

Commit

Permalink
Fix #749 use prod version of Vue package
Browse files Browse the repository at this point in the history
  • Loading branch information
gdaviet committed Dec 3, 2024
1 parent 8a16f6e commit 2043a39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions collectives/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
}
</script>
<script src="{{ url_for('api.models_to_js') }}"></script>

{%if config.FLASK_ENV=="development"%}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.global.min.js"></script>
{%else%}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.global.prod.js"></script>
{%endif%}

<script src="https://cdn.jsdelivr.net/npm/[email protected]/umd/primevue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@primevue/[email protected]/umd/aura.min.js"></script>
<link href="
Expand Down

0 comments on commit 2043a39

Please sign in to comment.