You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require-extension-hooks-vue version 1.0.0 vue version 2.5.16
With the addition of template-based functional components in Vue 2.5.0+, the script block does not seem to be required in .vue files. I get the following error, though, when I try to use these types of components with require-extension-hooks-vue.
/.../node_modules/require-extension-hooks-vue/src/index.js:68
throw new Error(`Unable to read ${filename}: could not find a valid <script> tag`);
^
Error: Unable to read /.../DnTable.vue: could not find a valid <script> tag
at getScriptPart (/.../node_modules/require-extension-hooks-vue/src/index.js:68:11)
at Array.module.exports (/.../node_modules/require-extension-hooks-vue/src/index.js:184:22)
at transpile (/.../node_modules/require-extension-hooks/src/hook.js:42:26)
at hook (/.../node_modules/require-extension-hooks/src/hook.js:26:22)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/.../DnTable.spec.js:11:16)
Thank you!
The text was updated successfully, but these errors were encountered:
Hello!
require-extension-hooks-vue
version 1.0.0vue
version 2.5.16With the addition of template-based functional components in Vue 2.5.0+, the script block does not seem to be required in
.vue
files. I get the following error, though, when I try to use these types of components withrequire-extension-hooks-vue
.Thank you!
The text was updated successfully, but these errors were encountered: