Skip to content

Is this plugin compatible for ES6 or Typescript support ? #1

Closed
@adiramardiani

Description

@adiramardiani

First congrats for release this plugin.

I don't know this is ES6 (because this is project requirement), nuxt or typescript issue, but I try to use your plugin on latest nuxt release
I'm using nuxt-tailwind module, and the config on tailwind.config.ts, here my script :

import type { Config } from 'tailwindcss';
import primeUi from 'tailwindcss-primeui';

export default <Partial<Config>>{
  content: ['./shareds/**/*.{js,vue,ts}', 'presets/**/*.{js,vue,ts}'],
  plugins: [primeUi]
};

But give me error
image

Is my implementation is wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions