-
Is there any point in putting try/catch statements in each method of a controller?
... Read moreI'm using Adonis JS as the API for my application. For each method in my controllers, I add try/catch statements to handle errors and return a response to my front-end in case one occurs. async createDiscussion({ request, auth, respo
-
Inertia + React - Change URL but open modal (No full navigation)
Working with Adonisjs + Inertia + React.
Read more
I want to show details of a user by clicking on it. I want the url to change but a modal opening instead of a full navigation
Do you have an idea of how can accomplish that? -
I made a WhatsApp group of businesses/freelancers using Adonis
Hey there,
Read more
Tom, firstly I would like to thank you for the amazing content that you have been putting out » I am still somewhere around the mid-way through your let's learn Adonis v6 guideline, but have learnt a great deal.
I have made a Whats... -
SharedData Problem - Inertia + React
here is my
inertia.ts
sharedData: { greetings: 'bonjour', user: (ctx) => ctx.auth.user, errors: (ctx) => ctx.session?.flashMessages.get('errors'), },
Read moreAbout packaging in adonisjs + inertia
Can i create a packages in adonisjs with inertia ? is there any lessons in here?
Read moreAdonis + Docker
Hello,
Read more
Is there a lesson talking about adonis development / deployment using docker docker-compose?Vue Sortable
Hi @tomgobich ! I have a quick question concerning your inertia course. On your deployed app, there is the Sortable feature on the
Read more/courses
page. I could not find the corresponding code on your repo or your other branches on GitHub. Can you...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...Passing parameters to the router line
Hello, sorry to bother you, but could you tell me if it is possible to build a URL address in which the :city parameter will specify different cities, for example: /fly-to-amsterdam or /fly-to-paris
I tried to make a router like /fly-to-:cit...
Read moreNot 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')),
shared data in inertia config is not coming into vue props
Out of the box, the adonis inertia.js config file had this section of code:
sharedData: { user: (ctx) => ctx.inertia.always(() => ctx.auth.user), },
But in my vue components, when I add user to defineProps it is undefined.
What am I...
Read moreRecently 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
Delayed Page Rendering on Tab Focus
When I switch browser tabs and return to a page after some time (for example, https://adocasts.com/series/lets-learn-adonisjs-6/lessons/filtering-by-users-watched-status), the page initially appears blank. However, if I wait a moment or cli...
Read morealpine js and edge js
hello guys , sorry if this is a stupid question but i have been searching for way to pass data from alpine js to edge js , in my case i need to pass an id to the route() where the id is coming from the selectedReview alpine variable :
<te...
Read moreWill deployment be covered?
Hi,
I was wondering if a chapter about production deployment will be included in the course?
Thanks in advance.
Read moreHow 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 moreSelective mail transport driver installation in adonisjs
Does the @adonisjs/mail CLI install all available mail transport by default? installing @adonijs/mail, i only intend to use 3 specific drivers. However, the define_config.d.ts file within the @adonisjs/mail package appears to define configu...
Read moreIs it possible to dowload courses videos to watch it offline?
I would like to know if there is any option to download videos of differents courses in order to watch it offline (I don't find the option)?
Read more
I am used to take the train for long trip and the network is not very stable, it would be very usef...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/**
App split into modules
Is there a way how to split larger app into modules ? Default directory structure assumes app folder with controller, model etc subfolders. Can we have a multiple app folders or create modules folders under app directroy? Something like:
app...
Read morePage 1 of 2