In Vue projects, you need to reference third-party libraries, such as vant@^2.12.47. When using the dialog popup component, you need to use v-model:show to determine whether to display the popup.
When the project is running, an error will be reported: error ‘v-model’ directives require no argument vue/valid-v-model
Solution: Add:'vue/valid-v-model':'off'
in the root directory, .eslintrc.js
file.
As shown in the figure:
Read More:
- How to Solve Vue loading 3D model Error
- Vue3.0 Use el-dialog visible Error: ‘.sync‘ modifier on ‘v-bind‘ directive is deprecated. Use ‘v-model:pro
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] Vue Project startup error: no eslint configuration found
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] Vue Project Error: Arrow function should not return assignment
- [Solved] Vue Project Start Error: Support for the experimental syntax ‘jsx‘ isn‘t currently enabled
- Full screen scrolling by Vue + Vue awesomeswiper
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2
- VScode vue3 Project vetur Error [How to Solve]
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- Vue installation @ Vue/cli error: npmerr gyp err
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- Vue scaffold creation project and run error [Solved]
- [Solved] Vue Project Error: This relative module was not found
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution