Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
156 views

Unexpected token If I Run "gulp" command

gulp -v CLI version:2.3.0 , Local version:3.9.1 nvm version : 5.6.0 If I run gulp command then this error, How can I solve this issue? [SyntaxError: Unexpected token ...]
Mdr Kuchhadiya's user avatar
0 votes
1 answer
2k views

How to use template inside template using vue.js & laravel?

In my project using laravel elixir to mix up the JavaScript files. In forms I have to use main Vue.js element to create forms. Also I have to use vue-google-map template inside parent Vue.js element ...
Gobi R's user avatar
  • 35
0 votes
1 answer
211 views

Strange error when updating an application to Vue2

After running vue-migration-helper and change all i need to update i'm getting this error bellow. vue2.default.user is not a function Console error: Uncaught TypeError: _vue2.default.use is not a ...
Marcelo H. Carneiro's user avatar
0 votes
1 answer
258 views

Laravel vue js integration - No values in blade file

I try to integrate vue.js with laravel 5.3. I call "gulp" which creates the main.js file in the public folder. I can see in the browser that the js file is loaded but the value of "message" is not ...
Steve's user avatar
  • 1,046
0 votes
1 answer
2k views

Multiple definitions of a property not allowed in strict mode

I'm using the following in my VueJS/ Laravel project with "laravel-elixir": "^6.0.0-14", "laravel-elixir-browsersync-official": "^1.0.0", "laravel-elixir-vue-2": "^0.2.0", "laravel-...
Kendall's user avatar
  • 5,255
0 votes
0 answers
596 views

Vue.js dynamic component loading + hot reload

I have Laravel 5.3.21 application with Vue.js 1.0.28 I'm using hot-reload workflow with browserify-hmr plugin. Here is the simple gulpfile.js used to achieve that: var elixir = require('laravel-...
Nikolay Konovalov's user avatar
0 votes
2 answers
2k views

Vue 2.0 - Failed to mount component: template or render function not defined despite defined render function

Working on an SPA using Vue 2.0. I'm bundling all my templates with Webpack from .vue files via Laravel Elixir, laravel-elixir-webpack-official and laravel-elixir-vue-2. I've reviewed pretty much ...
Ethan C's user avatar
  • 1,548
1 vote
1 answer
1k views

Vue 2 Failed to mount component

I'm using Laravel 5.2 and Vue 2.0.6. If I use local components, it works fine. But when I try to use global component from another .vue file, it shows following error: [Vue warn]: Failed to mount ...
Sovon's user avatar
  • 1,824
6 votes
4 answers
9k views

Does a Vuejs component template need only root one element?

I did not saw anything about this in docs, maybe I did not search enough, but components template seems to work "better" with a root element (better means: it works without root element with Laravel ...
rap-2-h's user avatar
  • 32.3k
6 votes
3 answers
6k views

vue 2.0 Failed to mount component: template or render function not defined

I am using a Laravel Vue setup and pulling in Laravel Elixir, Webpack and laravel-elixir-vue-2 package. I have looked at several other SO questions and I know this is usually a problem with not ...
retrograde's user avatar
  • 2,979
2 votes
1 answer
1k views

Cannot get vue-router to work with webpack

I'm trying to get vue-router to work without success and it got me quite angry after a while since i don't see any issue. I'm using webpack via Elixir in Laravel, which has gulpfile like this: const ...
Beau's user avatar
  • 251
3 votes
1 answer
3k views

Module build failed: SyntaxError: Unexpected token with babel-plugin-transform-vue-jsx

UPDATE: vue-tables-2 is now served pre-compiled, so no loaders are needed. For the templates option it is recommended to use scoped slots, which also don't require any special settings I am trying to ...
bibiseb's user avatar
  • 133
3 votes
0 answers
124 views

Problems while upgrading laravel-elixir from 5 to 6 version

After upgrading laravel elixir to 6.0 version in console errors appear like: [Vue warn]: Attributes ":model.sync", "key", "name" are ignored on component <wysiwyg> because the component is a ...
JonnyBuu's user avatar
0 votes
2 answers
462 views

How to organize vueify within laravel?

I want to use Vueify in my Laravel project. I have different Vuejs components using Vueify (*.vue files). My question is about how to best organize the required files and also optimize JS code sent to ...
patriziotomato's user avatar
2 votes
1 answer
1k views

How to include a vue component only when required in spa?

I have made components and saved into different '.vue' files and compiling them with the help of elixir / gulp and of course browserify. I am including all the components into one js file, I want to ...
Puneet's user avatar
  • 99

15 30 50 per page