-
building-with-adonisjs-and-inertia repository setup error on local machine.
Read more
Hello
I'm trying setup this project: https://github.com/adocasts/building-with-adonisjs-and-inertia on my local machine and I'm getting this error:
[postcss] /home/thiago/study/node/building-with-adonisjs-and-inertia/inertia/components/Sett... -
Not able to share flash messages to frontend with inertia
... Read moreI can't figure out how to get flash messages to my frontend with inertia.. // config/inertia.ts sharedData: { notifications: (ctx) => ctx.inertia.always(() => ctx.session?.flashMessages.get('notifications')),
-
Recently from today i am getting error on node package on adonisjs
... Read moreError [ERR_MODULE_NOT_FOUND]: Cannot find package 'ts-node-maintained' imported from /data/disk1/docker-projects/adonisjs/adonis-inertiajs/code/ace.js while using augument chat it gives result The issue is that ts-node-maintained is a depr
-
How to classify Schema nama in adonisjs 6 migration file?
In db first approach, we already have db, it has two schemas like auth and audit. auth schema contains user, role, permission table, audit schema contains session, policies. how to create model and migration files?
Read more -
TailwindCSS plugins installation issue
Hello,
I'm trying to install Tailwindcss plugin but I'm getting an error of "require is not defined".
Here is my Tailwindcss config file
... Read more/** @type {import('tailwindcss').Config} */ export default { content: ['./resources/views/**
-
Add a webhook endpoint to AdonisJS web app | FIXED
I'm just getting started with AdonisJS, I used the web app template, and now I need to add a webhook endpoint, so I can receive events from third-party platforms(such as payments) how can I do that.
Excuse my newbie question.
UPDATE
Fixed it, ...
Read more -
301 redirects + web server
I have a large list of 301 redirects. How can I implement these 301 redirects in AdonisJS? This list is maintained outside of AdonisJS in different system. I can fetch the list using API, so if the list is changed, how to update the redirec...
Read more -
How can we handle task scheduling in Adonisjs
In official documentation of Adonisjs their no section about task scheduling.
Read more
So how we can handle tasking scheduling