Created
February 1, 2018 20:52
-
-
Save mitrallex/942a5992abba5dcec9f6bc3a7d00f172 to your computer and use it in GitHub Desktop.
laravel-file-hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="modal" :class="{'is-active' : modalActive}"> | |
| <div class="modal-background" @click="closeModal()"></div> | |
| <div class="modal-content"> | |
| <p class="image is-4by3"> | |
| <img src="" :src="'{{ asset('storage/' . Auth::user()->name . '_' . Auth::id()) }}' + '/' + file.type + '/' + file.name + '.' + file.extension" :alt="file.name"> | |
| </p> | |
| </div> | |
| <button class="modal-close is-large" aria-label="close" @click="closeModal()"></button> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment