@reactea/tailwind
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.3 • Public • Published

@reactea/tailwind

This package provides a configuration function that can be used to integrate Tailwind CSS with @reactea/config.

Usage

  1. Install the @reactea/tailwind package:
npm install -D @reactea/tailwind
  1. Add the configuration to your webpack configuration file:
import { compileConfig, createConfig, extendConfig } from "@reactea/config";
import baseConfig from "@reactea/core";
import tailwindConfig from "@reactea/tailwind";

const reactea = createConfig();

extendConfig(reactea, baseConfig());
extendConfig(reactea, tailwindConfig());

const config = compileConfig(reactea);

export default config;

Configuration

The tailwindConfig() function returns a ReacteaConfig object that can be passed to createConfig() and used to configure @reactea/config.

The configuration adds tailwindcss as a PostCSS plugin to the configuration.

Readme

Keywords

none

Package Sidebar

Install

npm i @reactea/tailwind

Weekly Downloads

1

Version

1.0.0-alpha.3

License

ISC

Unpacked Size

2.54 kB

Total Files

5

Last publish

Collaborators

  • e9x