Adocasts Adocasts Adocasts
Series Topics Lessons Blog Discuss
Sign In Sign up
Adocasts Adocasts Adocasts
Series Topics Lessons Discuss Livestreams Blog Snippets
Sign In Sign Up
New Discussion
  • @alexys-laurent
    alexys-laurent

    10 days ago

    Is there any point in putting try/catch statements in each method of a controller?

    I'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
    ... Read more

    1

    1

    85
    Controllers
  • @michel-mbili
    michel-mbili

    12 days ago

    Inertia + React - Change URL but open modal (No full navigation)

    Working with Adonisjs + Inertia + React.
    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?

    Read more

    1

    1

    133
    InertiaJS
  • @vladimir-laskin
    Vlad

    16 days ago

    I made a WhatsApp group of businesses/freelancers using Adonis

    Hey there,

    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...

    Read more
    @vladimir-laskin @tomgobich

    2

    1

    127
  • @michel-mbili
    michel-mbili

    23 days ago

    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 more
    @michel-mbili @tomgobich

    6

    1

    321
    InertiaJS
  • @rajeeb-shakya
    rajeeb-shakya

    25 days ago

    About packaging in adonisjs + inertia

    Can i create a packages in adonisjs with inertia ? is there any lessons in here?

    Read more
    @rajeeb-shakya @tomgobich

    3

    1

    379
  • @ab-ab
    ab-ab

    26 days ago

    Adonis + Docker

    Hello,
    Is there a lesson talking about adonis development / deployment using docker docker-compose?

    Read more
    @ab-ab @rajeeb-shakya

    9

    1

    289
    AdonisJS
  • @memsbdm
    memsbdm
    Adocasts Plus

    1 month ago

    Vue Sortable

    Hi @tomgobich ! I have a quick question concerning your inertia course. On your deployed app, there is the Sortable feature on the /courses page. I could not find the corresponding code on your repo or your other branches on GitHub. Can you...

    Read more
    @memsbdm @tomgobich

    4

    1

    3,328
    InertiaJS
  • @thiago-domingues
    thiago-domingues

    1 month ago

    building-with-adonisjs-and-inertia repository setup error on local machine.


    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...

    Read more
    @thiago-domingues @tomgobich

    3

    1

    360
    AdonisJS
  • @oliverwhite
    oliverwhite

    1 month ago

    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 more
    @oliverwhite @tomgobich

    3

    1

    461
    Router
  • @deniz-elderenbos
    deniz-elderenbos

    1 month ago

    Not able to share flash messages to frontend with inertia

    I 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')),
    ... Read more

    1

    1

    295
    AdonisJS
  • @ryan-clare
    ryan-clare

    2 months ago

    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 more
    @ryan-clare @tomgobich

    3

    1

    351
  • @rajeeb-shakya
    rajeeb-shakya

    2 months ago

    Recently from today i am getting error on node package on adonisjs

    Error [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
    ... Read more
    @rajeeb-shakya @tomgobich

    3

    1

    1,256
    AdonisJS
  • @cortesbr
    cortesbr

    2 months ago

    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 more
    @cortesbr @tomgobich

    3

    1

    419
    EdgeJS
  • @laariane-amine
    laariane-amine

    3 months ago

    alpine 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 more

    1

    1

    629
    EdgeJS
  • @mohamed-m'rabet
    MOHAMED M'RABET
    Adocasts Plus

    4 months ago

    Will deployment be covered?

    Hi,

    I was wondering if a chapter about production deployment will be included in the course?

    Thanks in advance.

    Read more
    @mohamed-m'rabet @tomgobich

    3

    3

    3,032
    InertiaJS
  • @sivaclikry
    sivaclikry

    4 months ago

    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

    1

    1

    618
    AdonisJS
  • @epenflow
    epenflow

    5 months ago

    Selective 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 more

    1

    1

    662
    Ace CLI
  • @noctisy
    noctisy
    Adocasts Plus

    5 months ago

    Is 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)?
    I am used to take the train for long trip and the network is not very stable, it would be very usef...

    Read more
    @noctisy @tomgobich

    3

    1

    2,674
  • @hexacker
    Abdelmadjid Cherfaoui
    Adocasts Plus

    5 months ago

    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

    /** @type {import('tailwindcss').Config} */
    export default {
      content: ['./resources/views/**
    ... Read more

    1

    1

    2,489
    AdonisJS
  • @david-marko
    david-marko

    6 months ago

    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 more
    @david-marko @tomgobich

    3

    1

    1,184
Page 1 of 2

Content

  • Series
  • Topics
  • Lessons
  • Livestreams
  • Discuss

 

  • Blog
  • Snippets
  • Schedule
  • Requests

Company

  • Credits
  • Contact Us
  • Pricing
  • Sitemap

Legal

  • Cookies
  • Privacy
  • Terms
  • Guidelines

Subscribe to our newsletter

To get a monthly roundup of our latest lessons.

    Built with ConvertKit
    Adocasts Adocasts Adocasts © 2025 Adocasts. All Rights Reserved.
    GitHub account YouTube account Bluesky account Twitter page RSS feed