MarcusNarcus
MarcusNarcus
NNuxt
Created by MarcusNarcus on 6/14/2024 in #❓・help
Custom Typescript Settings
Hello, I am reading the documentation on the subject of injecting custom Typescript Settings, I can clearly see the docs mention the ability to modify or add settings without breaking the grander configuration, What is missing is an actual example where and how you apply settings. For example, If I want to set compilerOptions.experimentalDecorators: true how would I best go about this?
7 replies
NNuxt
Created by MarcusNarcus on 12/20/2022 in #❓・help
Nuxt 3.0.0 - Cannot find module 'tailwindcss-nesting'
Need help, after lots of Googling and combing github issues I am still stuck... I started using Nuxt 3 a week after 3.0.0 launched but having been forced to use this particular version: 3.0.0-rc.13 because 3.0.0 and 3.0.0-rc.14 do not work with @nuxtjs/tailwindcss@^6.0.0. Running nuxt dev with any version later than rc.13 throws error: Cannot find module 'tailwindcss/nesting' My nuxt.config.ts file looks like this:
export default defineNuxtConfig({
app: {
pageTransition: {
name: 'page',
mode: 'out-in'
},
layoutTransition: {
name: 'slide',
mode: 'out-in' // default
}
},
modules: [
'@nuxtjs/tailwindcss', // https://tailwindcss.nuxt.dev
],
runtimeConfig: {
public: {
pes: process.env.NODE_ENV === 'production' ? 'https://api....com/pes/v1/pub' : 'http://localhost:8991/pes/v1/pub'
}
},
tailwindcss: {
viewer: true
}
})
export default defineNuxtConfig({
app: {
pageTransition: {
name: 'page',
mode: 'out-in'
},
layoutTransition: {
name: 'slide',
mode: 'out-in' // default
}
},
modules: [
'@nuxtjs/tailwindcss', // https://tailwindcss.nuxt.dev
],
runtimeConfig: {
public: {
pes: process.env.NODE_ENV === 'production' ? 'https://api....com/pes/v1/pub' : 'http://localhost:8991/pes/v1/pub'
}
},
tailwindcss: {
viewer: true
}
})
1 replies