question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module '"@inertiajs/inertia-vue3"' has no exported member 'createInertiaApp'.

See original GitHub issue

Versions:

  • @inertiajs/inertia version: 0.9.2
  • @inertiajs/inertia-vue3 version: 0.4.7

Describe the problem:

Typescript error: Module ‘“@inertiajs/inertia-vue3”’ has no exported member ‘createInertiaApp’.

Steps to reproduce:

Create app.ts and import createInertiaApp from @inertiajs/inertia-vue3

import { createInertiaApp, usePage } from "@inertiajs/inertia-vue3"

createInertiaApp({
    ...
})

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
reininkcommented, Jul 14, 2021

These have been released as @inertiajs/inertia-vue@0.7.0 and @inertiajs/inertia-vue3@0.5.0. However, please note that these are breaking releases, since we removed the automatic registration of the Inertia link and head components (see here). That PR explains how to manually register those components globally, if you do want to upgrade to these latest versions. 👍

1reaction
reininkcommented, Jul 15, 2021

@Giesch Yup, we don’t maintain any of the type files in the adapters. We’re hoping to eventually convert the adapters to TS proper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue / Typescript, got Module '"*.vue"' has no exported member
I have to do this every time I created a import or export anything with TS. Share.
Read more >
inertia-vue3@0.4.1
This release adds a new createInertiaApp() setup method to make configuring Inertia easier (#698). Here's how to use it: Before:
Read more >
Laracasts Forum
Axios not handling XSRF token - Vue Laravel Sanctum ... Module '"vue-filepond"' has no exported member 'setOptions'. Did you mean to use 'import...
Read more >
Laravel+InertiaJS+Svelte+Bootstrap Auth: Step By ... - Medium
InertiaJS has support to it, so i started a little paid membership project area with ... import { createInertiaApp } from '@inertiajs/inertia-svelte'
Read more >
Laravel, Vue and Inertia with Vite - THEPUBLICGOOD Blog
Not only has it helped me become a better programmer, but it's now ... yarn add @inertiajs/inertia @inertiajs/inertia-vue3 vue@next vite ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found