25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

.list .title { flex: 1 1 25%; }<br />

.list .content { flex: 1 1 75%; display: flex; flex-wrap: wrap; }<br />

.list .list-item { flex: 0 0 50%; margin-bottom: 16px; }<br />

.list .list-item > i { width: 35px; }<br />

@media (max-width: 743px) { .list .title { flex: 1 1 33%; }<br />

.list .content { flex: 1 1 67%; }<br />

.list .list-item { flex: 0 0 100%; } } <br />

Go ahead <strong>and</strong> import FeatureList into resources/assets/<strong>js</strong>/app.<strong>js</strong>, <strong>and</strong> add it to the<br />

locally registered components. Now we can use FeatureList in our main template,<br />

with a separate instance for each list.<br />

resources/views/app.blade.php: ...<br />

...<br />

<br />

@{{ amenity.title }} @{{ price.title }}:<br />

@{{ price.value }} <br />

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

Saved successfully!

Ooh no, something went wrong!