Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs: global style imports #6490

Merged
merged 10 commits into from
Aug 14, 2022
Merged

docs: global style imports #6490

merged 10 commits into from
Aug 14, 2022

Conversation

AngeloSchulerPiletti
Copy link
Contributor

@AngeloSchulerPiletti AngeloSchulerPiletti commented Aug 10, 2022

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 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)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

It shows how can you import SCSS/SASS files (such as other preprocessors) to be used globally at your Nuxt components.

It took a while to figure out how to do it using Nuxt 3. Also, I noticed that there are other ones with the same doubt asking in forums.

πŸ“ Checklist

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

It shows how can you import SCSS/SASS files (such as other preprocessors) to be used globally at your Nuxt components.

Why did I create it?
It took a while to figure out how to do it using Nuxt 3. Also, I noticed that there are other ones with the same doubt asking in forums.
@netlify
Copy link

netlify bot commented Aug 10, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 8010d15
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62f8ef2f69b343000826e786
😎 Deploy Preview https://deploy-preview-6490--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0 pi0 added the documentation Improvements or additions to documentation label Aug 11, 2022
@pi0 pi0 mentioned this pull request Jan 19, 2023
4 tasks
@pi0
Copy link
Member

pi0 commented Aug 11, 2022

Thanks for PR @AngeloSchulerPiletti <3 I believe this feature deserves to be better supported but in the meantime, seems nice solution to be included in documentation. I made nuxt/nuxt#14545 to track improvements.

@pi0 pi0 requested review from danielroe, antfu and atinux August 11, 2022 21:35
@AngeloSchulerPiletti
Copy link
Contributor Author

Nice contribution @pi0! I totally agree with you

Copy link
Member

@atinux atinux left a comment

Choose a reason for hiding this comment

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

Thank you! I believe this is good to start and we can improve later on following #6536

Copy link
Member

@antfu antfu left a comment

Choose a reason for hiding this comment

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

chore: formatting

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@pi0 pi0 merged commit ff92446 into nuxt:main Aug 14, 2022
@pi0 pi0 mentioned this pull request Aug 26, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants