vue-loader Questions
1
So i am trying to update my vue-loader in laravel project to version 15.2.1. After updating dependencies and running npm run watch first i get an error that i shoul use VueLoaderPlugin. I added it ...
Slag asked 29/5, 2018 at 15:9
1
Solved
I created my project with Webpack and using Vue.js in development, but I can't inject <style> in the Vue template.
It got me
Module parse failed: Unexpected token (18:5)
You may need an ap...
Void asked 12/6, 2018 at 16:58
9
Solved
I find myself repeating this same pattern in every .vue file, in order to use variables, etc.:
<style lang="scss">
@import "../styles/settings.scss";
.someclass { color: $some-variable; }...
Zoan asked 13/8, 2016 at 1:35
1
Solved
I want to separate the vue.js template into a .vue file while leaving code in a .js file.
This is a vue "single file component":
<template>
..
</template>
<script>
..
</scri...
Coruscate asked 29/4, 2018 at 15:32
1
I'm currently trying to use SVG in my vue-loader/webpack template project.
I need to load different kind of SVGs :
Icons : used inside my components and loaded with svg-inline loader for inlining ...
Symphonize asked 20/3, 2018 at 11:52
1
Solved
I started getting this error once I upgraded to Webpack and related dependencies to v4: [Vue warn]: Failed to mount component: template or render function not defined.
Here's the relevant snippets...
Temperament asked 6/3, 2018 at 19:24
4
Solved
I have 2 Vue-Cli webpack projects (ClientApp and Lib).
Lib is my components library (shared with other projects)
Problem
When I build my project ClientApp npm run build, I have the following erro...
Embower asked 10/5, 2017 at 9:26
1
Solved
I've setup vue + vue-loader + HMR on an existing project.
It works mostly well, vue components are loaded and rendered correctly.
The hot module reload part is configured and loading.
However, ...
Trumpery asked 7/7, 2017 at 1:30
3
Solved
I keep getting error whenever I want to build a file. What is a reason of it?
It seems that .vue file is not recognizable by webpack, but webpack configuration file looks properly.
webpack error
...
Lowland asked 19/3, 2017 at 11:45
2
Solved
Newbie to Vue.js here. On Mac OS using versions:
$ npm --version
4.6.1
$ vue --version
2.8.1
I'm using the webpack-simple init with the vue-cli for vue 2.0. I've created a folder within my Djang...
Unvoice asked 28/4, 2017 at 5:36
3
Solved
Considering that there is single file component (as shown in the guide),
<style>
.example {
color: red;
}
</style>
<template>
<div class="example">hi</div>
</te...
Lorettelorgnette asked 13/3, 2017 at 13:48
1
Solved
I'm working with es6 modules. In some of them I use lodash. My question is - is it possible to load lodash as global variable, or it should be imported in all files separately? I tried this in my i...
Farant asked 24/3, 2017 at 18:55
1
Solved
I'm new to vue.js. I'm starting to migrate my angularjs app.
I'm using vue cli to generate a new simple-webpack project.
This creates a new webpack+vueLoader project.
Everything went smoothly but n...
Grudging asked 13/12, 2016 at 11:8
1
Solved
Background
Starting on a new vue.js (2.0) project. I've worked with vue-cli in other projects (vuejs-templates/webpack) and found the build process difficult to grasp when doing any kind of changes...
Expound asked 14/10, 2016 at 11:55
1
Solved
I'm using webpack + vue-loader to create vuejs app. I have multiple .vue files for components. When I write something like this:
import _ from 'lodash'
inside the script part of ComponentA.vue an...
Podium asked 22/6, 2016 at 10:52
© 2022 - 2024 — McMap. All rights reserved.