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

docs: add newline at end of sass import#7810

Merged
atinux merged 2 commits intonuxt:mainfrom
Fumihiro-Yano:patch-1
Sep 30, 2022
Merged

docs: add newline at end of sass import#7810
atinux merged 2 commits intonuxt:mainfrom
Fumihiro-Yano:patch-1

Conversation

@Fumihiro-Yano
Copy link
Copy Markdown
Contributor

@Fumihiro-Yano Fumihiro-Yano commented Sep 25, 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

Sass import needs newline code.

The following error will be displayed if the line feed code is within

[sass] expected newline.                                                                                                   
  ╷
1 │ @use "@/assets/_colors.sass" as *abbr,
  │                                       ^
  ╵
  assets/styles/reset.sass 1:39  root stylesheet

📝 Checklist

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

Sass import needs newline code.

The following error will be displayed if the line feed code is within

```
[sass] expected newline.                                                                                                   
  ╷
1 │ @use "@/assets/_colors.sass" as *abbr,
  │                                       ^
  ╵
  assets/styles/reset.sass 1:39  root stylesheet
```
@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Sep 25, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 25, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 550cdd6
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/633186c7e6ee8a0008577f5a
😎 Deploy Preview https://deploy-preview-7810--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.

@Fumihiro-Yano Fumihiro-Yano changed the title 【Update】Sass import needs newline code. docs: Sass import needs newline code. Sep 25, 2022
@Fumihiro-Yano Fumihiro-Yano changed the title docs: Sass import needs newline code. docs: sass import needs newline code. Sep 25, 2022
@DamianGlowala DamianGlowala changed the title docs: sass import needs newline code. docs: Sass import needs newline character Sep 25, 2022
@DamianGlowala DamianGlowala added the documentation Improvements or additions to documentation label Sep 25, 2022
@danielroe danielroe changed the title docs: Sass import needs newline character docs: add newline at end of sass import Sep 25, 2022
@DamianGlowala
Copy link
Copy Markdown
Member

I'm wondering whether the whitespace prepending \n is needed?

Comment thread docs/content/1.getting-started/4.assets.md Outdated
@atinux atinux merged commit bea2848 into nuxt:main Sep 30, 2022
@Fumihiro-Yano Fumihiro-Yano deleted the patch-1 branch October 4, 2022 04:40
@danielroe danielroe mentioned this pull request Oct 9, 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.

4 participants