How to Solve Vue cli syntax Close Error

An error occurs when a component is defined in Vue cli but not used. Close the syntax prompt.
solution: create a vue.config.js file in the Vue project
enter the following code:

module.exports = {
    lintOnSave: false
}

Can end syntax error

Read More: