Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing classes #25

Open
Rednas83 opened this issue Aug 2, 2023 · 0 comments
Open

Missing classes #25

Rednas83 opened this issue Aug 2, 2023 · 0 comments

Comments

@Rednas83
Copy link

Rednas83 commented Aug 2, 2023

In my custom css I get
image
In my vue page it also has no intellisense
image
In runtime it returns
image

Same counts for:

btn-primary
badge-primary
loading 
loading-ring 
loading-xs
drawer-overlay
collapse-plus
step-primary

Am I missing something?

package.json

"devDependencies": {
  "@unocss/nuxt": "^0.54.1",
  "@unocss/preset-attributify": "^0.54.1"
}
"dependencies": {
  "@kidonng/daisyui": "2.51.3",
  "daisyui": "^3.5.0",
  "unocss": "^0.54.1",
  "unocss-preset-daisy": "^6.0.0"
}

NOTE: After installing the packages I get the following warning
image
nuxt.config.ts

// https://v3.nuxtjs.org/api/configuratioyarn/nuxt.config
import { defineNuxtConfig } from "nuxt/config"
import { presetUno, transformerDirectives } from 'unocss'
import { presetDaisy } from 'unocss-preset-daisy'

export default defineNuxtConfig({
  telemetry: false,
  modules: ['@unocss/nuxt'],
  css: ['@unocss/reset/tailwind.css', '~/assets/style.css'],
  // https://uno.antfu.me/
  unocss: {
    // presets
    uno: true, // enabled `@unocss/preset-uno`
    icons: true, // enabled `@unocss/preset-icons`
    attributify: false, // enabled `@unocss/preset-attributify`,
    presets: [presetUno(), presetDaisy({
      styled: false,
      themes: ['light', 'dark'],
    }),],

    // core options
    shortcuts: [],
    transformers: [transformerDirectives()],
    rules: [],
  },
})

VS code extensions

UnoCC
WindiCSS IntelliSense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant