-
Notifications
You must be signed in to change notification settings - Fork 919
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
scss support + cli settings #1
Comments
@luketn thanks for the kind words! And absolutely — scss support shouldn't be hard for us to implement :) What CLI settings are you looking to tweak? |
Create-react-app includes support for SCCS and LESS support. Why not, in the Settings panel (or a new Options panel), add options for SASS, LESS, and other options provided by the inclusion of the .env file in the create-react-app project directory? It would need to also be included on export. |
@JoniWeiss Great idea! We can def do this 👍 @luketn Another q for ya — when you said "...and load a couple of scripts", what kind of scripts would you be looking to load? |
Does it has SASS support currently? |
Hey all! We just shipped SASS and LESS support, and we also support the angular-cli.json config too :) You can check it out in action in the Angular starter template or my Angular Material starter template — would love hear your thoughts :) |
@EricSimons Aweseom. Thank you 👍 Hope https://stackoverflow.com/questions/46252546/add-scss-file-to-the-stackblitz |
@EricSimons any new for SASS support with React? |
@sinedied did you ever get this working? |
@seawatts Yes just rename |
@luketn may we close this issue? I think sass support is working now properly |
Hello, We are testing the app ad it looks awesome. Thanks a lot ! |
What do you mean with "how"? You can just add a file with the extension |
Hello @seveves , sorry for my not well documented question. When we add a file with the extension We were just trying the default demo. I am asking the question before digging further because all our css libs are using less |
@gmacherey what default template are you using? angular, react or another one? I will try to reproduce your issue and if it really does not work then we really should open a new issue 😬 |
@seveves here are the exact steps I'm doing:
I hope I haven't misunderstood where this functionnality is available. Thanks |
@gmacherey can you try it now? I just enabled LESS for both the JS & TS vanilla starter projects |
@EricSimons , thanks a lot. The file is accepted now, and I can import it from the index.js file. However the styles from the less file does not seem to be applied. Here is a very basic example: https://stackblitz.com/edit/js-mvvjqb?file=index.js Thanks again |
SHOOT I screwed that up lol. Can you try forking a new project on the homepage now? It should work :) |
@EricSimons no problem, this is working perfectly now. Thanks a lot ! |
Hi!
Absolutely love the app. Totally awesome.
One thing would be really cool - Sass (.scss file) support.
I'm a maintainer on an angular -> materlialize component and it would be handy to create some demo projects here, but we'd need .scss support and the ability to tweak the CLI settings a little to use the scss extension and load a couple of scripts.
Hope you can help!
Cheers,
Luke
The text was updated successfully, but these errors were encountered: