25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Laravel</strong> frontend<br />

We think of <strong>Laravel</strong> as being a backend framework, but a fresh <strong>Laravel</strong> project<br />

includes boilerplate code <strong>and</strong> configuration for a frontend app as well.<br />

The out-of-the-box frontend includes JavaScript <strong>and</strong> Sass asset files, as a well as<br />

a package.<strong>js</strong>on file that specifies dependencies such as <strong>Vue</strong>.<strong>js</strong>, jQuery, <strong>and</strong><br />

Bootstrap.<br />

Let's take a look at this boilerplate code <strong>and</strong> configuration so we get an idea of<br />

how the <strong>Vue</strong>bnb frontend app will fit into our <strong>Laravel</strong> project when we begin the<br />

migration.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!