Skip to content
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

Documentation for vueCompilerOptions.strictTemplates #5001

Open
some-user123 opened this issue Nov 11, 2024 · 1 comment
Open

Documentation for vueCompilerOptions.strictTemplates #5001

some-user123 opened this issue Nov 11, 2024 · 1 comment

Comments

@some-user123
Copy link

What problem does this feature solve?

vueCompilerOptions.strictTemplates is a very powerful feature to improve type safety even for templates. However, it is far too less known and there seems to be no official documentation.

What does the proposed solution look like?

Mention this feature and encourage its usage of official websites, e.g., in https://vuejs.org/guide/typescript/overview.html#typescript-in-templates

@some-user123 some-user123 added the feature request Request new features label Nov 11, 2024
@KazariEX KazariEX removed the feature request Request new features label Jan 18, 2025
@jmamakeesic
Copy link

jmamakeesic commented Jan 20, 2025

There's this: github.com/KazariEX/vuejs-language-tools-docs and the web version.

However, the implementation appears to be out of sync, as it currently only accepts a boolean value.
{ attributes: boolean, components: boolean } syntax is not recognised:

strictTemplates - object syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants