Skip to content

Conversation

@qmhc
Copy link

@qmhc qmhc commented Mar 21, 2023

Description of Problem

Examples of of v-bind and v-on have no shorthand object usage.

Proposed Solution

Add usage to the example.

Additional Information

I don't sure if this is a valid usage. But I think it also need to explain similarly if this isn't valid usage.

If it's valid usage I think it should be added to example.

Another dispute is about v-slot shorthand. Is the following usage valid?

<MyComp>
  <template #="params">
    {{ params }}
  </template>
</MyComp>

@netlify
Copy link

netlify bot commented Mar 21, 2023

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit dfe55ab
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/64197e315f0d000008c6c1de
😎 Deploy Preview https://deploy-preview-2294--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@skirtles-code
Copy link
Contributor

Thanks for the PR.

Using :, @ and # in this way is not officially supported.

I have a PR open in the core repo, vuejs/core#7360, that adds a warning for this.

@skirtles-code
Copy link
Contributor

I'm going to close this, as I believe this is intentionally not documented.

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

Successfully merging this pull request may close these issues.

2 participants