1.0.17 • Published 11 months ago

@globalpress/tailwind-preset v1.0.17

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
11 months ago

Usage

This is intended to distribute a consistant tailwind preset for all GP v3 front website projects like globalpressjournal etc

Install

Install this package in your project using:

yarn add @globalpress/tailwind-preset

Add the preset to your tailwind config within your project

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [
    require('@globalpress/tailwind-preset')
  ],
  content: [
    "./components/**/*.{js,vue,ts}",
    "./layouts/**/*.vue",
    "./pages/**/*.vue",
    "./plugins/**/*.{js,ts}",
    "./app.vue",
    "./error.vue",
	],
}

Alternatively if you are using an ES Module you can import

import gp3Config from '@globalpress/tailwind-preset';
export default {
  presets: [gp3Config],
  content: [
    "./components/**/*.{js,vue,ts}",
    "./layouts/**/*.vue",
    "./pages/**/*.vue",
    "./plugins/**/*.{js,ts}",
    "./app.vue",
    "./error.vue",
    'formkit.theme.ts'
	],
}
1.0.17

11 months ago

1.0.16

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago