Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matt Stauffer:
Using Vue in Laravel 5.3, with the Vue bootstrap and sample component
Dec 23, 2016 @ 15:18:29

Matt Stauffer has posted the next article in his series of "What's New in Laravel 5.3" series with this article covering the use of Vue.js with Laravel and some of the bootstrapping that makes it easier.

In Laravel 5.3, it's easier than ever to write and use Vue components out of the box. This means 5.3 has a somewhat more opinionated default frontend stack than previous versions do. But never fear—it's easy to strip out the default components.

Let's explore 5.3's JavaScript stack together. Spin up a sample app using the Laravel installer (or, if you're like me, use Lambo) and open up the site in your favorite IDE.

He starts with the sample definitions of the package.json and Gulp files, including some dependencies including Vue.js itself and the Vue Resource packages. He then shows a sample app.js file to define the main part of the application and a matching bootstrap.js with a bit of, well, bootstrapping for the application. Finally he creates the example component, runs yarn/gulp and updates a Blade template to lay out the main application div and include the application Javascript file. Finally he shows what the resulting application should look like with screenshot included.

tagged: laravel vuejs tutorial introduction gulp yarn elixir javascript framework

Link: https://mattstauffer.co/blog/using-vue-in-laravel-5-3-with-the-vue-bootstrap-and-sample-component

Laravel News:
Laravel News Podcast Episode 28
Oct 20, 2016 @ 17:07:18

The Laravel News site has released the latest episode of it's podcast, episode #28, covering Laravel 5.3.18, Yarn, Leanpub and more.

In this episode, we discuss Yarn, Facebook's new JavaScript package manger, the new Laravel Links section, and lots of other random topics.

This is our last podcast episode for 2016 and we will be taking a break until next year.

Other topics mentioned also include Laravel Links, case sensitive filesystems in development and Powershell for Mac/Linux. You can listen to this latest episode either using the in-page player or by subscribing to their feed and getting this and other great episodes as they're released.

tagged: laravelnews laravel podcast news ep28 yarn leanpub ericbarnes jackfruh

Link: https://laravel-news.com/podcast/28


Trending Topics: