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

Update Readme to Give Example of the Default Skip 'is' Prefix Behavior #66

Open
GrayAnchor opened this issue Oct 9, 2024 · 0 comments

Comments

@GrayAnchor
Copy link

I'd like to add to the Readme an example of the default configuration for skipping the prefix for functions that start with 'is'. I got stuck on it and it seems like some other folks could benefit from having an example covering the default configuration with and without the prefix.

Maybe something like this:

<script setup>
  const text = useToUpper("it works!");
  const empty = isEmpty(text); // default configuration prefixSkip: ['is']
</script>

<template>
  <div v-if="!empty">{{ text }}</div>
</template>

I'm brand new to contributing to Open Source, so please let me know if I need to put in a PR or if you have any other feedback on this. Maybe this isn't the place to discuss this; if so please let me know. Thanks.

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

1 participant