-=Mr.Bolux=-
-=Mr.Bolux=-
NNuxt
Created by -=Mr.Bolux=- on 7/16/2024 in #❓・help
Can't deploy on nuxt hub with nuxt-mail
Hello, today I tried nuxt hub and I created a small project with nuxt-mail everything works but when I try to deploy on nuxt hub I get an error :
17:23:11.348 Error: Failed to publish your Function. Got error: Uncaught TypeError: Class extends value #<Object> is not a constructor or null
at chunks/runtime.mjs:1:303274
17:23:11.348 Error: Failed to publish your Function. Got error: Uncaught TypeError: Class extends value #<Object> is not a constructor or null
at chunks/runtime.mjs:1:303274
here's my nuxt.config :
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
nitro: {
experimental: {
openAPI: true,
},
},
modules: [
[
"nuxt-mail",
{
message: {
to: process.env.NUXT_MAIL_TARGET,
},
smtp: {
host: process.env.NUXT_MAIL_SMPT,
port: process.env.NUXT_MAIL_PORT,
secure: true,
auth: {
user: process.env.NUXT_MAIL_USERNAME,
pass: process.env.NUXT_MAIL_PASSWORD,
},
},
},
],
],
});
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
nitro: {
experimental: {
openAPI: true,
},
},
modules: [
[
"nuxt-mail",
{
message: {
to: process.env.NUXT_MAIL_TARGET,
},
smtp: {
host: process.env.NUXT_MAIL_SMPT,
port: process.env.NUXT_MAIL_PORT,
secure: true,
auth: {
user: process.env.NUXT_MAIL_USERNAME,
pass: process.env.NUXT_MAIL_PASSWORD,
},
},
},
],
],
});
if I remove the nuxtmail part it deploys fine :/
2 replies
NNuxt
Created by -=Mr.Bolux=- on 6/20/2024 in #❓・help
How to change the background color of the toast notification ?
Hi, I'd like to change the background color of my toast notification but I don't know how to do it :/.
I don't want to set a default background color in my app.config, I want to use a dynamic variable but I don't know where I can add my :ui tag :/ I hope it's clear
<UNotifications :ui="{ position: config.position, background: config.color }" />
<UNotifications :ui="{ position: config.position, background: config.color }" />
1 replies