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.

}<br />

Finally, we'll need to update our ListingPage component to reflect the new name<br />

<strong>and</strong> structure of the server data we're injecting.<br />

resources/assets/components/ListingPage.vue: let serverData =<br />

JSON.parse(window.vuebnb_server_data); let model =<br />

populateAmenitiesAndPrices(serverData.listing); ...

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

Saved successfully!

Ooh no, something went wrong!