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.

Module system<br />

The columns of the table categorize the builds as either UMD, CommonJS, or ES<br />

Module. We discussed CommonJS <strong>and</strong> ES modules back in Chapter 5, Integrating<br />

<strong>Laravel</strong> And <strong>Vue</strong>.<strong>js</strong> with Webpack, but we didn't mention UMD (Universal<br />

Module Definition). The main things you need to know about UMD is that it's<br />

yet another module pattern, <strong>and</strong> that it works well in a browser. UMD is the<br />

choice if you are directly linking to <strong>Vue</strong> in a script tag.

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

Saved successfully!

Ooh no, something went wrong!