Skip to content

Conversation

@zzhenryquezz
Copy link
Contributor

Description

This PR will add 2 new macros to the project, defineProp & defineEmit.

This will allow users to define props & emits multiple times and also organize better the code

Linked Issues

Fix #294

Additional context

I use defineProps package as a base to create these macros, so please check if is everything ok with file/folder structure and other definitions like packages.json name, tags, etc..,

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Mar 4, 2023

⚠️ No Changeset found

Latest commit: 6aaf09f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 4, 2023 18:46 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 4, 2023 18:46 Inactive
@sxzz sxzz changed the title Feat define single prop and emit macro feat: define single prop and emit macro Mar 5, 2023
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 10, 2023 20:29 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 10, 2023 20:29 Inactive
@zzhenryquezz zzhenryquezz force-pushed the feat-define-single-prop-and-emit-macro branch from 0ea38e4 to 5f96396 Compare March 10, 2023 20:35
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 10, 2023 20:36 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 10, 2023 20:36 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 10, 2023 20:46 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 10, 2023 20:46 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 11, 2023 07:38 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 11, 2023 07:39 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 11, 2023 07:43 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 11, 2023 07:43 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 20, 2023 06:08 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 20, 2023 06:08 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 21, 2023 09:42 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 21, 2023 09:42 Inactive
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros-coverage March 21, 2023 10:17 Inactive
@sxzz sxzz enabled auto-merge (squash) March 21, 2023 10:18
@vercel vercel bot temporarily deployed to Preview – unplugin-vue-macros March 21, 2023 10:18 Inactive
@sxzz sxzz merged commit db55201 into vue-macros:main Mar 21, 2023
@sxzz
Copy link
Member

sxzz commented Mar 21, 2023

Thanks for your awesome work! It has been released as v1.10.2, but there are no docs about it yet. Would you like to add some docs?

@zzhenryquezz
Copy link
Contributor Author

Thanks for your awesome work! It has been released as v1.10.2, but there are no docs about it yet. Would you like to add some docs?

Sure I will make it on the weekend

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.

Define single prop & emits macro defineProp & defineEmit

2 participants