79156966

Date: 2024-11-04 20:56:21
Score: 2
Natty:
Report link

You should put your code in a boot file, which is injected into main.js and available globally. When you use "yarn create quasar", one of the options is to install axios for api calls, and it uses the boot files approach.

You can read more about it at: https://v2.quasar.dev/quasar-cli/boot-files

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kevin Dill