🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yummacss/vite

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yummacss/vite

Vite plugin for Yumma CSS

latest
Source
npmnpm
Version
3.28.2
Version published
Maintainers
1
Created
Source

@yummacss/vite

Vite plugin for Yumma CSS. Works with any Vite-based setup like SvelteKit, Astro, Nuxt, Solid, plain Vite.

Installation

npm install -D @yummacss/vite

Usage

Add the plugin to your Vite config:

// vite.config.js
import yummacss from "@yummacss/vite";
import { defineConfig } from "vite";

export default defineConfig({
	plugins: [yummacss()],
});

Add the @yummacss; marker to your CSS entry file where the generated CSS should be injected:

/* main.css */
@yummacss;

Configure Yumma CSS as usual in yumma.config.mjs:

import { defineConfig } from "yummacss";

export default defineConfig({
	source: ["./src/**/*.{ts,tsx}"],
});

That's it! Now vite dev hot-swaps the generated CSS as you edit your source files, without a full page reload. The output option is not used by the plugin.

Options

OptionTypeDefaultDescription
configConfigInline configuration; skips the config file.
configPathstringyumma.config.mjsPath to the config file.

Keywords

css-framework

FAQs

Package last updated on 09 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts