-
-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command create vetur.config.js file #2537
Comments
The same problem When the plugin is updated to 0.31.0, open the project with a warning 1 Vetur find 2 Vetur can't find Whether you need to add a custom configuration item |
It's a warning. |
All instructions are here. Reason: |
I don't get it. Are we supposed to add these files ourselves? I don't really understand the documentation and I don't see anything changing in my project when I add a jsconfig.json file. I don't have a vetur.config.js file either. The warning also disappeared when Vetur just updated to version 0.31.1. |
Maybe have some bug in the warring. |
I get the same warning. Suggestion.: As I'm trying to learn VueJS and programming in general, this warning is confusing. I'm not sure if I need those extra features that require the config files or not, nor do I understand what am I supposed to do in order to use the configs. |
|
Hah! Sorry! I missed that! I think the wording in the options page makes it even more confusing, though. I'm just saying that the way this 'extra' option of having the config files to setup 'extra' features is presented in a very confusing way and having it show warnings by default - every single time I open a new project isn't ideal imo. I'm glad we have the option to turn those off now. As I've said in my previous post I'm new to programming, so I'm really not aware of how important those features that require the config files are. If those are not created 'by default'/in an automatic way (presets, etc), then maybe this suggests that they're not that 'important' and probably should be off by default? In any case, thank you for your quick reply! |
I think your question is a problem in the docs. |
Hah! No problem! :) Thanks a lot for helping clarify. :) |
Hey! Thank you for this extension and your help / contributions!
These is my configuration: module.exports = {
projects: [
{
jsconfig: './jsconfig.json',
package: './[folder-name]/package.json',
},
],
}
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./[folder-name]/src/*"]
}
},
"include": ["./[folder-name]/src/**/*"],
"exclude": ["node_modules"]
} |
You must to set |
I don't want to add so many profiles, |
I created a jsconfig.json and put this code:
The warning message stoped, but I don't know if the Vetur will work correctely. follow this link to see the instructions -> https://vuejs.github.io/vetur/guide/setup.html#project-setup |
Feature Request
Because by default, vetur v0.31.0 will warn if the vetur.config.js file is missing
I think vetur should add a command to support the quick creation of the vetur.config.js file
The text was updated successfully, but these errors were encountered: