Closed HomyeeKing closed 4 years ago
Please provide a valid reproduction.
@sodatea
vue-loader : "^16.0.0-beta.8"
const { VueLoaderPlugin } = require('vue-loader-v16');
const { VueLoaderPlugin } = require('vue-loader');
const VueLoaderPlugin = require('vue-loader-v16');
const VueLoaderPlugin = require("vue-loader/lib/plugin");
I've tried every one ,but always happens error ....
which one is the exact way to import this loader  😫
Please please provide a reproduction repo. I don't even understand what you are trying to achieve here. Are you trying to use vue 3 or vue 2?
Please please provide a reproduction repo. I don't even understand what you are trying to achieve here. Are you trying to use vue 3 or vue 2?
it need webpack command, hard to repo,
in short: I'm using vue3, how to import vue-loader correctly and which is the proper version of vue-template-compiler
and everytime I install new loader, the vue-loader get can not be resolved...
Install vue-loader@next
& @vue/compiler-sfc
, and uninstall vue-template-compiler
.
See https://github.com/vuejs/vue-next-webpack-preview for reference.
@vue/compiler-sfc
excellent! problem solved
Version
15.9.4
Reproduction link
http://nothing.com
Steps to reproduce
webpack@ 4.44.0 webpack-cli@4.1.0
vue-loader @15.9.4 "vue-template-compiler": "^2.6.12",
What is expected?
run successfully
What is actually happening?
Vue packages version mismatch: