Yumma CSS and React
Install Yumma CSS with React.
-
Install Yumma CSS:
Install the Yumma CSS Library using a package manager.
Installing dependencies... npm install yummacss@latest -
Include
yummacss
in your main CSS file:src/App.css /* Minified Version */@import "/node_modules/yummacss/dist/yumma.min.css"; -
Start development server
Start your application using
npm run dev
.Terminal npm start -
Done!
You’re all set to start using Yumma CSS utility classes in your project.
src/App.js import "./App.css";function App() {return (<div class="h-1/1 ins"><h1 class="fs-xxl fw-500 tc-pink">Yumma CSS + React</h1></div>);}export default App;
Project example
If you’re having trouble with Yumma CSS, clone this React example.
-
Cloning repository
Cloning repository... git clone https://github.com/yumma-lib/react-yummacss-example.git -
Installing dependencies
Installing dependencies... npm install -
Start development server
Terminal npm run dev