Skip to content

Commit

Permalink
Add Env, DevTools
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Oct 16, 2024
1 parent 471f1f8 commit 87015d4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@
"options": {},
"command": "npm run vite:build",
"problemMatcher": []
},
{
"label": "vue devtools",
"type": "shell",
"options": {},
"command": "vue-devtools",
"problemMatcher": []
}
]
}
1 change: 1 addition & 0 deletions app/templates/content/scripts_site.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
{% block scripts_site %}
{# {{ encore_entry_script_tags('app') }} #}
{{ vite_js('main.ts') }}
<script src="http://localhost:8098"></script>
{% endblock %}
1 change: 1 addition & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference types="vite/client" />
/// <reference types="@userfrosting/theme-pink-cupcake/components" />
/**
* This is required for webpack to correctly import vue file when using TypeScript.
*/
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87015d4

Please sign in to comment.