-
Notifications
You must be signed in to change notification settings - Fork 183
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
fix: css intellisense not working #596
Conversation
@atinux there are also bug with "files": [
"utils/**/*.ts",
"content/**/*.md",
"/home/nazar/development/website/components/**/*.{vue,js,ts}",
"/home/nazar/development/website/layouts/**/*.vue",
"/home/nazar/development/website/pages/**/*.vue",
"/home/nazar/development/website/composables/**/*.{js,ts}",
"/home/nazar/development/website/plugins/**/*.{js,ts}",
"/home/nazar/development/website/App.{js,ts,vue}",
"/home/nazar/development/website/app.{js,ts,vue}",
"/home/nazar/development/website/Error.{js,ts,vue}",
"/home/nazar/development/website/error.{js,ts,vue}"
], So, can I fix it in this pr? |
I want make this ( Line 136 in c32cadb
tailwindConfig.content = [...(tailwindConfig.content && tailwindConfig.content.map(src => `${nuxt.options.srcDir}/${src}`) || []), ...contentPaths] // TODO: support `extends` directories |
@nazar1ua you have to make sure content is added before tailwind module. |
@atinux I'm sorry, but I don't understand you |
What's your |
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'@nuxtjs/google-fonts',
'@vueuse/nuxt',
],
googleFonts: {
families: {
'Open Sans': [400, 500, 600, 700],
'IBM Plex Sans': [400, 500, 600, 700],
},
display: 'swap',
preconnect: true,
download: true,
},
colorMode: {
classSuffix: '',
},
experimental: {
payloadExtraction: false,
},
app: {
head: {...}
},
}) |
Classes are generated correctly, but I think, It would be better, it there will only relative or only absolute paths, not mix of them |
Workaround for #593