1.0.9 • Published 1 year ago

@globalpress/tailwind-preset v1.0.9

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year 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.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago