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

docs: create a page explaining import.meta #24186

Merged
merged 5 commits into from Nov 8, 2023

Conversation

passionate-bram
Copy link
Contributor

Documents the existence of import.meta and some of the properties that are available. Includes a warning that in nuxt module code there is limited support for import.meta.

🔗 Linked issue

N/A, used "edit this page" on the docs site to get here.

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Creates a new page under "Docs > API > Advanced" to describe the support for import.meta and the various fields available on it.

There currently is no dedicated page that explains import.meta, nor does import.meta produce a useful result when using search.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

stackblitz bot commented Nov 8, 2023

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

Copy link

nuxt-studio bot commented Nov 8, 2023

Live Preview ready!

Name Edit Preview Latest Commit
Nuxt Docs Edit on Studio ↗︎ View Live Preview 411e967

Documents the existence of `import.meta` and some of the properties that are available. Includes a warning that in nuxt module code there is limited support for `import.meta`.
@passionate-bram
Copy link
Contributor Author

The link check failure was for a document outside of the changes I made.
I thought it might pass after a rebase but I now see that there have been no changes to day to resolve the 404-ed link.

docs/3.api/6.advanced/2.import-meta.md Outdated Show resolved Hide resolved
docs/3.api/6.advanced/2.import-meta.md Outdated Show resolved Hide resolved
danielroe and others added 2 commits November 8, 2023 14:57
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
@danielroe danielroe changed the title docs: create a page for explaining import.meta docs: create a page explaining import.meta Nov 8, 2023
@danielroe danielroe merged commit 221e186 into nuxt:main Nov 8, 2023
3 of 4 checks passed
@danielroe
Copy link
Member

Thank you for this ❤️

@github-actions github-actions bot mentioned this pull request Nov 8, 2023
manniL pushed a commit that referenced this pull request Dec 11, 2023
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.

None yet

4 participants