All discussions

New Discussion

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')), } // app_controller....

1
1,136

shared data in inertia config is not coming into vue props

@ryan-clare
@ryan-clare

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

3
1,819

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

@rajeeb-shakya
@rajeeb-shakya

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

3
1,937

Delayed Page Rendering on Tab Focus

@cortesbr
@cortesbr

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

3
1,795

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 :

1
1,371

Will deployment be covered?

Hi,I was wondering if a chapter about production deployment will be included in the course?Thanks in advance.

3
2,318

How to classify Schema nama in adonisjs 6 migration file?

@sivaclikry
@sivaclikry

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?

1
1,181

Inertia and i18n

@thomas-danger
@thomas-danger

Hello,I want to use the i18n module in an inertia project with react but i can't find a way to use the t('messages.gretting') method in my tsx component… Is it possible to use this method in inertia like in Edge template ? Or am i forced to...

6
5,172

Selective mail transport driver installation in adonisjs

@epenflow
@epenflow

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

1
1,292

Is it possible to dowload courses videos to watch it offline?

@noctisy
@noctisy

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

3
2,045

TailwindCSS plugins installation issue

@hexacker
@hexacker Adocasts Plus

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/**/*.edge', '....

1
1,923

App split into modules

@david-marko
@david-marko

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

3
1,550

adocasts UI glitch

@tdturn2
@tdturn2

anyone else experiencing UI issues on Adocasts? Switching between videos isn't loading the proper video/description. I'm having to move over to YT to the try and find the public ones.current console error: Uncaught (in promise) TypeError: Cannot...

1
1,100

Admin panel

@anjanesh
@anjanesh

Is there an admin panel built-in like Django ?

1
1,037

Which framework to start project ?

@petzi
@petzi

Hi, I'm a bit lost with all the possibilities in the Javascript stack. I will start a new project (a multi-sport tournament management app) and I wanted to use AdonisJS. However, I'm not sure about the frontend part. I want a dynamic and fluid...

3
1,628

301 redirects + web server

@miro
@miro

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

1
1,282

Video Changes & Chapters

@tomgobich
@tomgobich Adocasts Plus

You've probably noticed some changes with our video player if you've watched our latest three Let's Learn AdonisJS 6 lessons.Until now, we had written all the initialization logic for the player, including dynamically selecting the best video...

6
2,371

AdonisJs Session Installing error

@mohammadali
@mohammadali

node ace add @adonisjs/session[ info ] Installing the package using the following command : npm add @adonisjs/session❯ Continue ? (y/N) · true[ wait ] unable to install the package ...[ error ] Command failed with exit code 1: npm install @...

5
1,663

How can we handle task scheduling in Adonisjs

@mohammadali
@mohammadali

In official documentation of Adonisjs their no section about task scheduling. So how we can handle tasking scheduling

2
1,828

Welcome To The Feed!

@tomgobich
@tomgobich Adocasts Plus

The Feed is our answer to a GitHub or Discord discussion board! We wanted something open, easy to access, and could add some benefit to our Plus Subscribers. It's a place where you can share what you're working on, discuss ideas and topics,...

0
1,487

Showing 21 to 40 of 40 results

New Discussion
Topic