Guide
Vue
Introduction
This is a guide to maintain a consistent and industry stand code in Vue.
How to Debug
Important things you should know when you are deal with Vuejs.
I make this documentation to save your debugging time and you can easily find the common error.
- If you are using
Axios for HTTP requests
then browserconsole
will help you a lot to find the common error related to get request, post request, etc. - If you are trying to debug the error in
Vuejs
then the Vue.jsDevtool
help you download the extension in your browser.
Some minor mistake
- Define the API endpoint very carefully otherwise it takes a lot of time to find the error.
- You can share your project on the internet using the below command.
for vue :-npx vite --host
for laravel:-php artisan serve --host=your ip address
//Open cmd and type command ipconfig to know your ip