Category : vuejs3

I have this file structure. In my PHP file <?php echo json_encode(‘test’); I try to create get/post request with axios with this code axios.get(‘api/test/test.php’) .then(res => { console.log(res)}) .catch(err => { console.log(err)}); When I do that, I achieve 404 error. Also tried with ‘/api/test/test.php’ | ‘./api/test/test.php’ | ‘../api/test/test.php’ Do I having access to src folder? ..

Read more

Is there a way to instal vue 3.0 to laravel 8? When I run npm install [email protected] It started installing vue 3.0, but for some reason it also began installing vue-template-compiler v2.6.12. The following appears: Additional dependencies must be installed. This will only take a moment. Running: npm install vue-template-compiler –save-dev –production=false And then when ..

Read more