framework
framework copied to clipboard
docs: global style imports
🔗 Linked issue
❓ Type of change
- [x] 📖 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.
- [x] I have updated the documentation accordingly.
Deploy Preview for nuxt3-docs ready!
Name | Link |
---|---|
Latest commit | 8010d1518acac2159516bafceb3b69d7c7b4d0d0 |
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
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 https://github.com/nuxt/nuxt.js/issues/14545 to track improvements.
Nice contribution @pi0! I totally agree with you