Vue use failure:
D:\project\vueProject\vue-02\src\components\hello.vue
5:5 error Parsing error: x-invalid-end-tag vue/no-parsing-error
Such an error was reported when the slot was introduced. After careful inspection, it was found that the label of the slot was written incorrectly.
It should be the <slot/> slash at the back, and it will return to normal after the change.
<!-- /* html page */ -->
<template>
<div>
<!-- slot -->
</slot>
<h3>This is a custom component hello</h3>
</div>
</template>
<!-- /* javaScript */ -->
<script>
export default {
}
</script>
<!-- /* css */ -->
<style>
</style>
Read More:
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] ant design pro vue Startup Error: ERROR Failed to compile with 1 error 20:34:09 error in ./src/components/Num
- The solution to the problem that the custom styles of UI components such as element-ui in the vue project do not take effect
- Vue Error: error in mounted hook: TypeError: invalid src type
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- When using iView, report: no parsing error parsing error: x-invalid-end-tag solution
- [Solved] Vue Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model
- Full screen scrolling by Vue + Vue awesomeswiper
- [Solved] Vue echarts Error: Initialize failed: invalid dom.
- [Solved] Vue Error: Parsing error:No Babel config file detected for xxx
- VScode vue3 Project vetur Error [How to Solve]
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- vue Error: Uncaught SyntaxError: Invalid shorthand property initializer
- How to Solve Vue loading 3D model Error
- [Solved] Vue Project Error: “TypeError: Cannot read properties of undefined (reading ‘init‘)“