Member Since 3 Years Ago
3,740 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Frankobingen started a new conversation Can I Use Mix To Run Different Sub Folders Where Each Folder Has A Webpack.mix.js?
I'm currently working on a project where I want to have multiple "themes" within my project. I have a content structure like
I want to be able to trigger the mix runs individually like (something like
npm run dev --folder="theme a").
Does anyone know how to do this?
That's a rather tough question and highly depends on how YOU want to handle your scripts structure.
The "modern" way (at least for me) is to merge each and every script into one minified script of yours so that you only need to load one single script instead of many different (reducing the http requests). If you go with this approach you would not seperate the scripts at all.
However, if you want to "inject" components I'd go like this
Frankobingen started a new conversation Vue - How To Correctly Add New Global Data Elements & Access Them From Directives And Components
I'm having big troubles on working with vue. I'm really new to vue - and I'm currently using it for my spark application i'm building.
I added a custom property to the global spark object like this
window.Spark = <?php echo json_encode(array_merge( Spark::scriptVariables(), [ 'custom' => [ 'passwords' => [[ 'name' => 'test', 'description' => 'asd']], 'selectedPassword' => null ] ] )); ?>
I have a passowrd-list component which I use like this
I added :custom="spark.custom" as property to the home component (as seen in vue devtools it is working)
Using a form and a directive I now change the custom.passwords data, however the list is not updating.