Yumma CSS and .NET
How to add Yumma CSS to your project with Dotnet.
-
Navigate to your project:
Navigate to the solution your project:
-
Install Yumma CSS:
Install the Yumma CSS Library using LibMan.
You can also add
yummacss
to your project by right-clicking your project in Solution Explorer and selecting Add > Client-Side Library.Once you’ve installed it, you should see the
yummacss
folder inside your/lib
folder.DirectoryProperties/
- …
Directorywwwroot
Directorycss
- site.css
Directoryjs
- site.js
Directorylib/
Directoryyummacss/ generates this
- …
- favicon.ico
DirectoryControllers
- HomeController.cs
DirectoryModels
- ErrorViewModel.cs
DirectoryViews
DirectoryHome/
- …
DirectoryShared/
- …
- appsettings.json
- libman.json
- Program.cs
-
Add
yummacss
to your main CSS file: -
Start development server
You can also press the
F5
key to access the development server. -
Use Yumma CSS in your project:
You’re all set to start using Yumma CSS utility classes in your project.
Project example
If you’re having trouble with Yumma CSS, clone this .NET example.
-
Cloning repository
-
Installing dependencies
-
Start development server