Avatar of Bruce Gust
Bruce Gust
Flag for United States of America asked on

Vue Not Being Included With Laravel Install

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?
LaravelInstallationGolangPHP

Avatar of undefined
Last Comment
Chris Stanyon

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chris Stanyon

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Bruce Gust

ASKER
Chris, if there was a value for "out of the park" helpful, I would've selected it.

I can't tell you how much time was spent in an attempt to figure this out with various bandaids and google searches. Your counsel did the trick and I'm just sorry I didn't respond sooner.

Thanks!
Chris Stanyon

Haha. No worries Bruce. Glad you got it sorted.

Often, the tutorials and code snippets you find online take a while to catch up with the latest releases - particularly when dealing with major release updates (5.x -> 6.x)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes