2

I tried using

npm run watch

and

npm run dev

But, unfortunately, i cant find the url of the app. Also, I had no problems with running the commands, the commands run successfully.

I tried these urls already:

127.0.0.1:8000
127.0.0.1:8080
192.0.8.101:8000 // My computers ip
192.0.8.101:8080 // My computers ip

1
  • Be specific and show us some relevant configurations Commented Sep 5, 2018 at 3:39

1 Answer 1

6

You should build the Vue app using npm run dev or npm run watch, and you also need to serve the laravel application using php artisan serve.

In the browser, go to http://localhost:8000 and it should work.

Sign up to request clarification or add additional context in comments.

1 Comment

This is the correct answer. The application isn't served through any package.json scripts. It's a PHP application, and therefore needs to be served either through PHP itself or a proper Web server (NGINX, Apache, etc.).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.