cipami / nuxt-lodash

Lodash module for Nuxt
MIT License
104 stars 11 forks source link

Using inside script #27

Closed LastxTemplar closed 1 year ago

LastxTemplar commented 2 years ago

Can this be used inside the script tag at all?

something like this.useOrderBy(...)

cipami commented 2 years ago

i don't understand i think. What do you mean inside script tag? u can just use it as

<script setup>
const text = useToUpper('it works!');
</script>