# @ikota/vanilla-extract

> Vanilla-extract preprocessor plugin for ikota CLI

Latest version **1.0.2** (published 2023-04-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ikota/vanilla-extract
pnpm add @ikota/vanilla-extract
yarn add @ikota/vanilla-extract
bun add @ikota/vanilla-extract
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-04-22 |
| First published | 2023-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 88.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Domin-MND |
| Maintainers | domin-mnd |

## Links

- npm: https://www.npmjs.com/package/@ikota/vanilla-extract
- Repository: https://github.com/Domin-MND/ikota-plugins
- Homepage: https://github.com/Domin-MND/ikota-plugins/tree/master/vanilla-extract
- Issues: https://github.com/Domin-MND/ikota-plugins/issues
- npm.io page: https://npm.io/package/@ikota/vanilla-extract

## Dependencies (1)

- [ikota](https://npm.io/package/ikota.md) ^1.0.1

## Recent versions

- 1.0.2 (latest) — 2023-04-22
- 1.0.1 — 2023-04-22
- 1.0.0 — 2023-04-22

## README

<p align="center">
  <img alt="ikota" src="public/ikotavanillaextract.svg" width="300" />
</p>

# Overview

Ikota (Russian word for "hiccups", pronounced `/ikóta/`) is a CLI
automation tool for working with React. This plugin offers a
stylus preprocessor implementation for ikota.

# Install

```bash
$ npm i ikota @ikota/vanilla-extract
$ ikota config # or
$ npx ikota config
```

Follow prompt steps given by the ikota. After that you have to
add the following import to plugins array:

```js
const ikotaVanillaExtract = require('@ikota/vanilla-extract');

module.exports = {
  componentPath: 'src/components',
  useTypescript: true,
  addConfigFile: true,
  addIndexFile: true,
  preprocessor: 'vanilla-extract', // The vanilla-extract preprocessor
  useLambdaSimplifier: true,
  trailingSpace: true,
  plugins: [ikotaVanillaExtract],
};
```

# Usage

To generate the component you can use the configuration given
above or override the preprocessor set by the config using `-P`
flag:

```bash
$ ikota component -P vanilla-extract
```

> **Note**: Make sure to add plugin in the plugins array of the
> config, otherwise it would throw an error.

## Example

<p align="center">
  <img alt="Generating the component with Vanilla-extract" src="public/generatecomponent.png" width="40%" />
</p>

# Contributing

Pull requests are welcome. For major changes, please open an issue
first to discuss what you would like to change.

# License

This project is under [MIT](https://choosealicense.com/licenses/mit/)
license. You can freely use it for your own purposes.

---
_Source: https://npm.io/package/@ikota/vanilla-extract · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
