@pablo

Member Since
Sep 16, 2024
Lessons Completed
0
Comments Contributed
3
Hours Watched
0

Recent Activity

Here's what @pablo has been up to this past year

  • Replied to Are you using AdonisJS 5 or AdonisJS 6? Conversely, are you ...

    I am using AdonisJS 5 and using @inertia 0.11.1. I also enabled ts-loader in Webpack Encore as it wouldn't work without it.

    I noticed it's crashing when I add the lang="ts" attribute to the script line for example:
    // Does not work
    <script setup lang="ts">
    import { Link } from '@inertiajs/vue3'
    </script>

    // Works
    <script setup>
    import { Link } from '@inertiajs/vue3'
    </script>

  • Replied to Hi I have followed along but when I attempt to use the Link ...

    I should add I have installed @inertiajs/vue3 instead of '@inertiajs/inertia-vue3' as the former is the one mentioned in the documentation.

  • Commented on post Understanding The Flow Between Adonis, Inertia, and Vue 3

    Hi I have followed along but when I attempt to use the Link component I get the following error:
    ReferenceError: module is not defined
    at ./node_modules/@inertiajs/vue3/dist/index.js

    I have used it like so
    <script setup lang="ts">

    import { Link } from '@inertiajs/vue3'

    defineProps({ message: String })

    </script>
    <template>
    <h1> {{ message }} </h1>
    <Link href="/test">Test Link</Link>
    </template>

  • Account created Welcome to Adocasts, @pablo!