astro-vanilla-extract
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

🚀 Astro + 🧁 vanilla-extract

version downloads github actions typescript makepr

This integration adds vanilla-extract support to Astro

📦 Installation

Quick Install

the astro add command-line tool automates the installation for you. Run one of the following commands in a new terminal window. (If you aren’t sure which package manager you’re using, run the first command.) Then, follow the prompts, and type “y” in the terminal (meaning “yes”) for each one.

# Using NPM
npx astro add astro-vanilla-extract
# Using Yarn
yarn astro add astro-vanilla-extract
# Using PNPM
pnpm astro add astro-vanilla-extract

Manual Install

First, install the astro-vanilla-extract package using your package manager. (If you aren’t sure which package manager you’re using, run the first command.)

# Using NPM
npm install astro-vanilla-extract
# Using Yarn
yarn add astro-vanilla-extract
# Using PNPM
pnpm install astro-vanilla-extract

Then, apply this integration to your astro.config.mjs file using the integrations property:

import vanillaExtract from 'astro-vanilla-extract';

export default {
  // ...
  integrations: [vanillaExtract()]
};

🥑 Usage

When you install this integration, things will be auto-wired for you.

To learn more about using Vanilla Extract library, head to the vanilla-extract official documentation.

Example

We have also setup an example repository available here: example-vanilla-extract

Changelog

Please see the Changelog for more information on what has changed recently.

Acknowledgements

Install

npm i astro-vanilla-extract

DownloadsWeekly Downloads

330

Version

2.0.0

License

MIT

Unpacked Size

4.14 kB

Total Files

4

Last publish

Collaborators

  • mohammed-elhaouari