A boilerplate/demo app for adding sass support to CRA to go along with https://hackernoon.com/using-sass-with-create-react-app-without-ejecting-b5f4f827ed9e
If you’re diving into front-end development with React and looking to enhance your project with Sass/SCSS support without the hassle of ejecting your Create React App setup, this starter boilerplate repo is an excellent solution. It’s designed to streamline your workflow by providing a pre-configured environment that works seamlessly with the Sass CLI, making it easy to add sophisticated styling to your applications.
This repository helps developers quickly get started by offering clear instructions and scripts to manage Sass compilation. With features that cater to both beginners and seasoned developers, it simplifies the setup process and enhances the development experience.
Easy Setup: Fork the repo and start coding with Sass support right away without the need to eject your existing Create React App configuration.
Sass CLI Integration: Run yarn sass:watch to have Sass actively monitor your SCSS directory, automatically compiling styles into the CSS directory whenever changes are detected.
One-time Transpilation: Use the yarn sass:build command for a quick, one-time conversion of your SCSS files into CSS, ensuring a smooth workflow.
Node-sass Option: Not keen on installing Ruby and Sass globally? The node-sass branch allows you to use the node-sass library, included in dev dependencies for quick and easy Sass support.
Automatic CSS Update: The Sass CLI automatically scans and transpiles your styles when using watch mode, minimizing setup and ensuring real-time updates.
Manual Transpilation: If using node-sass, remember to run yarn sass:build before yarn sass:watch to ensure all SCSS files are included if you add new ones after starting the watcher.
This starter boilerplate is a practical choice for any developer looking to leverage Sass with their React projects efficiently.