You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within my style tag in a component.svelte page, logical media query is throwing an error.
Reproduction
<!-- taken from MDN --><articleclass="forecast"><h1>Weather forecast for Seattle</h1><articleclass="day-forecast"><h2>03 March 2018</h2><p>Rain.</p></article><articleclass="day-forecast"><h2>04 March 2018</h2><p>Periods of rain.</p></article><articleclass="day-forecast"><h2>05 March 2018</h2><p>Heavy rain.</p></article></article>
ERROR being shown in VSC:
Colon is expected
If you expect this syntax to work, here are some suggestions:
If you use less/SCSS with `svelte-preprocess`, did you add `lang="scss"`/`lang="less"` to your `style` tag? If you use SCSS, it may be necessary to add the path to your NODE runtime to the setting `svelte.language-server.runtime`, or use `sass` instead of `node-sass`.
Did you setup a `svelte.config.js`?
See https://github.com/sveltejs/language-tools/tree/master/docs#using-with-preprocessors for more info.svelte(css-syntax-error)
Describe the bug
Within my
style
tag in acomponent.svelte
page, logical media query is throwing an error.Reproduction
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: