i use vue2-sfc-loader ,vsersion 0.8.3 ,hava one erro
See original GitHub issuevue version : v2.6.14 vue2-sfc-loader version : 0.8.3 error:
Uncaught (in promise) TypeError: t is not a function
at vue2-sfc-loader.js:65
at vue2-sfc-loader.js:65
at async P (vue2-sfc-loader.js:65)
at async Module.N (vue2-sfc-loader.js:65)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
vue-loader install wrong version · Issue #6838 · vuejs/vue-cli
Version 5.0.0-rc.1 Steps to reproduce I need install the following vue-loader but cause error: "devDependencies": { "vue-loader": "15.9.8", } ...
Read more >Error : vue-loader requires @vue/compiler-sfc to be present in ...
Looks like you are trying to use vue-loader from Vue 3 in Vue 2 project. Here is a versions I have for Vue...
Read more >Getting Started - Vue Loader
Follow this guide if the built-in configuration of Vue CLI does not suit your needs, or you'd rather create your own webpack config...
Read more >How to easily use Vue 3.x with ICP, step by step guide
I've just used a simple folder structure here, separating generic Vue components into components directory, pages into pages etc.
Read more >vue-loader - npm
Vue single -file component loader for Webpack. Latest version: 17.0.1, last published: 2 months ago. Start using vue-loader in your project ...
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 Free
Top 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
Before vue3-sfc-loader v1.0.0, API may change quickly. At each release, try to take a look at https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/CHANGELOG.md
In your case, you are using the old API :
getFile()
: see https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/CHANGELOG.md#080-2021-05-31handleModule
is now a function, see https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/CHANGELOG.md#060-2021-03-20I have modified the option. Please refer to it.