We help IT Professionals succeed at work.
Get Started

Vue Not Being Included With Laravel Install

Bruce Gust
Bruce Gust asked
Last Modified: 2019-12-05
screenshotI've got Laravel 6.6.0 running on my box. I do a new project and I go to my "resources" directory expecting to find "resources->js-assets->components->ExampleComponent.vue" and there's nothing there. All I have is "resources->js."

The idea that all this is coming pre-packaged comes from any one of a number of tutorials. Here's an example: https://www.youtube.com/watch?v=BoYQpwvKLuE&t=39s

When I do an "npm install," I get this (see screenshot)...

Notice how vue is referenced as "@vue." Not sure if that's indicative of a problem, but I there is no hierarchy and there's no "ExampleComponent.vue" and I'm thinking something is fouled up, but I don't know what.

Seems like all of this should in place by default and it's not. Why?
Watch Question
Most Valuable Expert 2020
Most Valuable Expert 2018
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE