These dependencies were not found: * codemirror/lib/codemirror.css in ./src/main.js * codemirror/mode/sql/sql in ./src/main.js To install them, you can run: npm install --save codemirror/lib/codemirror.css codemirror/mode/sql/sql
时间: 2023-08-09 15:09:22 浏览: 67
I apologize for the confusion. It seems that the `codemirror` CSS and SQL mode were not found in your project. You can follow the error message's suggestion and run the following command to install them:
```shell
npm install --save codemirror/lib/codemirror.css codemirror/mode/sql/sql
```
After running this command, the required CSS and SQL mode files should be installed in your project. Make sure to import them in your `main.js` file or the file where you initialize your Vue app:
```javascript
import 'codemirror/lib/codemirror.css';
import 'codemirror/mode/sql/sql';
```
Once you have done this, you should be able to use the CodeMirror editor with the SQL mode in your Vue components without any further issues.
I apologize for any inconvenience caused. If you have any more questions, feel free to ask!