[Vue warn]: Error compiling template
See original GitHub issueWhat version of Laravel are you using? (nothing lower than v5.4). 5.7.19
is it an issue related to installation or usage ? Installation
what is the error you are getting ? In browser console (5 errors):
First one:
[Vue warn]: Error compiling template:
<section id="app" v-cloak="">
<div class="notif-container">
<my-notification></my-notification>
</div>
<div class="container is-fluid">
<div class="columns">
<div class="column">
<media-manager inline-template="" v-cloak="" :config="{"baseUrl":"http:\/\/intranet.loc\/storage\/","hideFilesExt":true,"lazyLoad":false,"mimeTypes":{"image":["binary\/octet-stream"],"archive":["application\/x-tar","application\/zip"]},"cacheExp":60,"broadcasting":false,"gfi":true,"ratioBar":true}" :routes="{"files":"http:\/\/intranet.loc\/media\/files","dirs":"http:\/\/intranet.loc\/media\/directories","lock":"http:\/\/intranet.loc\/media\/lock-file","visibility":"http:\/\/intranet.loc\/media\/change-vis","upload":"http:\/\/intranet.loc\/media\/upload"}" :translations="{"copied":"Copied","copy_success":"Successfully Copied","create_folder_notif":"New Folder Was created","create_success":"Successfully Created","delete_success":"Successfully Deleted","downloaded":"Downloaded","error_altered_fwli":"Can't Be Moved, Renamed Or Deleted Because It Has Some Locked Items","find":"Find...","found":"Found","glbl_search":"Global Search","glbl_search_avail":"Global Search Is Now Available.","go_to_folder":"Go To Folder !","move_success":"Successfully Moved","new_uploads_notif":"New Items Were Uploaded","no_val":"Maybe You Should Add Something First !!!","nothing_found":"Nothing Found","refresh_notif":"Press The Refresh Button To View Them","rename_success":"Successfully Renamed","save_success":"Successfully Saved As","sep_download":"Folders Should Be Downloaded Separately","stand_by":"Please Stand By ...","to_cp":"Copy Link To Clipboard","upload_success":"Successfully Uploaded"}" :in-modal="false" :hide-ext="[]" :hide-path="[]" :restrict="{}" :user-id="0" :upload-panel-img-list="["\/assets\/vendor\/MediaManager\/patterns\/gif\/5b98026bab87a.gif","\/assets\/vendor\/MediaManager\/patterns\/still\/nyc-candy.png"]">
<div class="">
Extra Info “attaching a screen shot would be very helpful”
Installed using laravel new project
command, following installation guide
node v10.12.0 yarn 1.10.1
Npm run watch
goes green (DONE). After visiting /media page js blows up (errors in screenshots).
Tried on multiple browsers same result. You should be able to confirm this behaviour running laravel new whatever
cmd. and implementing package as mentioned in installation guide.
Thank you.
Wondering maybe this problem can be related to new laravel-mix version and webpack 4. laravel mix
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
VueJS error compiling template - Stack Overflow
I'm very new to this and I can't figure out what's wrong. App.vue. <template> <message>This is a small message!</message> ...
Read more >[Vue warn]: Error compiling template? everything works find ...
I am using Vue js its working fine It showing error in the console.
Read more >Compiling error when the template of the .vue file ... - GitHub
Compiling error when the template of the .vue file has the attribute lang="html" ... node_modules/vue-loader/lib/loaders/templateLoader.js):
Read more >vue-template-compiler - npm
js. This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions.
Read more >Problems with other scripts when setting up Vue : r/laravel
Error in console: app.js:40730 [Vue warn]: Error compiling template: Templates should only be responsible for mapping the state to the UI.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
sorry for the long delay but am super busy with my day job, will try to get this fixed as soon as possible
It’s not working for me, but I’m not sure if I downloaded the demo version or not, I just followed the instructions listed on the page you linked to, installing through composer.