-
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 more -
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')),
-
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 -
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
-
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 -
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 -
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 -
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 -
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 -
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)?
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 more -
Terry
adocasts UI glitch
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:
Read more
Uncaught (in promise) TypeError: Ca... -
-
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 -
Which framework to start project ?
Hi,
Read more
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 flui... -
A Simple Framework Based on Edge.js
Hi everyone, I’ve just released Laman.js, a simple framework that adds file-based routing with Express on top of Edge.js and integrates Vite for easier development. I’ve also built LamanHub, a hosting platform where you can deploy Laman.js ...
Read more -
Inertia and i18n
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…
Read more
Is it possible to use this method in inertia like in Edge template ? Or am i forced to...