-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
feat: Add support for Quasar Framework #865
Conversation
@@ -21,6 +25,20 @@ export const bootstrapTagProvider = getExternalTagProvider('bootstrap', bootstra | |||
export const buefyTagProvider = getExternalTagProvider('buefy', buefyTags, buefyAttributes); | |||
export const vuetifyTagProvider = getExternalTagProvider('vuetify', vuetifyTags, vuetifyAttributes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NVM, see the other comment.
@@ -68,6 +71,22 @@ export function getTagProviderSettings(workspacePath: string | null | undefined) | |||
if (packageJson.dependencies['vuetify']) { | |||
settings['vuetify'] = true; | |||
} | |||
|
|||
const quasarPath = ts.findConfigFile( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow the pattern above
- Check if dependencies have
quasar-framework
- If so, call into the function
getQuasarTagProvider
, which should encapsulate the code for findingpackage.json
, etc - If that returns null, do nothing
- If that returns the
tagProvider
, set settings to true and push it toallTagProviders
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is best for all the ways Quasar can be consumed (through Quasar CLI, vue-cli-plugin-quasar, etc etc). Explained on private.
Need to fix Travis which uses node 6, as Quasar depends on Node 8. This is fine for Vetur since in next release of VS Code we jump to Node 8.9.3 with Electron 2. |
What is it beneficial for this? |
@TonyPythoneer When you install |
No description provided.