problems with using Laravel FrameWorks

0

I'm following a video lesson to understand how vue behaves, however this video lesson is on top of a PHP project, I understand little of PHP. I did as I did in the video below;

1 - CRUD at LARAVEL & VUEjs - Webpack, Laravel Mix, NPM, Axios | Rimorsoft Online

But when I send the application to the server by typing the npm run dev command I can not find the URL to view the page;

I've tried these options:

  
  • localhost / laravel-vue-crud / public /
  •   
  • localhost / laravel-vue-crud /
  •   
  • localhost: 8080
  •   

Someone might take a look at the video because it might be that I'm typing the wrong URL.

    
asked by anonymous 28.09.2017 / 13:30

1 answer

0

As I checked, the problem that is occurring is what URL to access when uploading the server, correct? If so, make sure you have .env created at the root of your application.

Basically, .env is a configuration file of all Laravel environment variables. Note that if you are using Linux, all files that start with "." are hidden. Another information is that this not file is versioned, so it can be copied from the .env.example file that is usually tracked in general repositories.

You can check the APP_URL line, or change it to the port you want, for example: APP_URL=http://localhost:8080/

    
07.01.2018 / 17:25