Final Code
With our code now complete your view and JavaScript file should look like the following. Firstly, the view should look like this:
<div id="app"> <dropbox-viewer :path="path"></dropbox-viewer> </div> <script type="text/x-template" id="dropbox-viewer- template"> <div> <h1>Dropbox</h1> <transition name="fade"> <div v-if="isLoading"> <div v-if="isLoading == 'error'"> <p>There seems to be an issue with the URL entered.</p> <p><a href="">Go home</a></p> </div> <div v-else> Loading... </div> </div> </transition> <transition name="fade"> <div v-if="!isLoading"> <breadcrumb :p="path"></breadcrumb> <ul> <template v-for="entry in structure...