Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

feat: add composition api helper to interact with head() #35

Merged
merged 5 commits into from
May 7, 2020
Merged

feat: add composition api helper to interact with head() #35

merged 5 commits into from
May 7, 2020

Conversation

mathe42
Copy link
Collaborator

@mathe42 mathe42 commented May 7, 2020

No description provided.

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it. I do wonder if it would be better to rename getMeta to useMeta and the overall function could be useHead?

Also might be worth a couple of lines in meta-test-d.ts just confirming the expected types?

README.md Outdated Show resolved Hide resolved
test/fixture/pages/meta.vue Outdated Show resolved Hide resolved
@danielroe danielroe changed the title feat(meta): added useMeta feat: add composition api helper to interact with head() May 7, 2020
@danielroe danielroe added the enhancement New feature or request label May 7, 2020
@mathe42
Copy link
Collaborator Author

mathe42 commented May 7, 2020

@danielroe I changed the names as you suggested. 👍

src/index.ts Outdated Show resolved Hide resolved
Co-authored-by: Daniel Roe <[email protected]>
src/meta.ts Outdated Show resolved Hide resolved
@danielroe danielroe merged commit b7467e2 into nuxt-community:master May 7, 2020
@mathe42 mathe42 deleted the useMeta branch May 7, 2020 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants