Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

This is my first day working with this so I'm not sure what's going on. When I start up my laravel project and add jetstream(inertia.js) and make changes to my resources/js/Dashboard.vue file, I open ...
Muamar Collins's user avatar
1 vote
0 answers
1k views

Comming from here: Inertia Local State Caching How do I get data from my local state caching on a new page? Example: remember: ['cart'], data() { return { sending: false, cart: { ...
Patrick's user avatar
  • 821
0 votes
1 answer
2k views

I am trying to use the event listeners with inertia.post, however I can't get it to do anything. this.$inertia.post('/email/store', data, { onStart: () => this.sending = true, onFinish: () ...
matt's user avatar
  • 2,127
0 votes
1 answer
524 views

I am little confused by how controllers in Laravel Inertia should be used. On the inertia documentation it says "With Inertia, each page in your application has its own controller". ...
Wing's user avatar
  • 1
6 votes
4 answers
19k views

What happens to me is that if the user puts the url: project.test/med, the system redirects to Login but then it does not redirect to dashboard but to med. In RedirectIfAuthenticated the expression ...
gioalvaro's user avatar
0 votes
1 answer
139 views

If props are not editable how does one go about adding data relevant to the user interface in a local component? Say you receive an Array of blog posts, each post can be iterated in the interface with ...
lowkey's user avatar
  • 314
0 votes
1 answer
1k views

Out the test it works, I can visit the page and the controller wroks fine. I wrote the following test: public function test_logged_user_is_not_redirected() { PartnerFactory::new()->create(); ...
alteration's user avatar
2 votes
0 answers
647 views

Using Laraver Inertia Vue I use a vue with a paginated list of posts. For each post I only load a few column from the database such as title and author. Then I visit url to load the details of a ...
Meaulnes's user avatar
  • 553
0 votes
2 answers
6k views

I use Laravel 8 inertia and vue I want to update a post and I use this component in a main vue <template> <div class="container p-3 bg-green-600 flex flex-col"> <div class=...
Meaulnes's user avatar
  • 553
1 vote
2 answers
5k views

How can I call in a React component the JavaScript route function generated by the Ziggy's @route directive ? The route function is generated at runtime so it's impossible to import it beforehand in ...
Grégory's user avatar
  • 348
5 votes
2 answers
3k views

I'm currently building a SPA with vue and installed jetstream (that comes with fortify) and using inertiajs to get my vue components. Is there a way to use inertia::render('') when i use Fortify::...
Gianlucas Galati's user avatar
1 vote
3 answers
5k views

The transition Does not work in inertia page . if add appLayout between transition tag . its working . but all content gives transition. Dashboard.vue <template> <admin-layout> <h1&...
Mehrab Esmailnia's user avatar
1 vote
1 answer
2k views

Using Laravel, inertia, vue I would like to return all Posts with only the necessary columns in my index but I would like to add the user from a belongsTo relationship Here is what I tried Test one : ...
Meaulnes's user avatar
  • 553
3 votes
6 answers
10k views

I have setup a Laravel 8 installation that uses Jetstream (inertia js stack). All Jetstream provided views are working correctly. The issue is when I create a new Route that renders a new Vue template,...
JamesP27's user avatar
  • 123
1 vote
1 answer
771 views

OK, trying to move our Vuetify app to L8, Jetstream and the inertia stack. I see this line in ./resources/js/app.js const app = document.getElementById('app'); It's grabbing the app element in the ...
Jim Dunn's user avatar
  • 216
2 votes
3 answers
7k views

When I use I use the <inertia-link> the test.vue child component does not render but it renders if I remove those tags. Any ideas as to what I am doing wrong? test.vue <template> <...
matt's user avatar
  • 2,127
12 votes
7 answers
15k views

I am using Laravel 8 and I have installed InertiaJS, but in my directory resources/views/ I have a single file called index.blade.php which I plan to use with InertiaJS. By default, InertiaJS looks ...
leo95batista's user avatar
0 votes
1 answer
3k views

I have a problem with 'domain' => env ('SESSION_DOMAIN', null) in the session.php file. When set SESSION_DOMAIN value in .env file, for example SESSION_DOMAIN=mysite.test login don't works and ...
lorenzo taccogna's user avatar
0 votes
0 answers
313 views

I have a Laravel application that produces 17 digit (64 bit) numeric IDs (laravel-snowflake) When this collection is rendered into an Inertia Vue component as a prop, the last 2 digits are being ...
secondman's user avatar
  • 3,287
8 votes
1 answer
2k views

I'm just about to start developing my first iOS app with React Native and wasn't sure if Inertiajs would be suitable. Thanks for your help!
Anto's user avatar
  • 81
0 votes
1 answer
1k views

I'm trying to make an application with devise auth, but i wanna use Inertia + VueJS instead of Rails views. I'm having a hard time to make this work, so far i made the custom controllers using rails ...
Azus5's user avatar
  • 3
0 votes
1 answer
571 views

How does Inertia.js connects my Laravel backend on a domain with my Vue.js project on another domain ? Or am I trying to do something Inertia.js is not made for ?
DevonDahon's user avatar
  • 8,520
1 vote
3 answers
3k views

I'm making a normal Inertia post to a base Laravel login route: submit() { this.$inertia.post("/login", { email: this.emailAddress, password: this.password, }, { ...
iamnull90's user avatar
0 votes
1 answer
5k views

I am new to setting up the tailwind/postcss configuration using Intertia.js/Vue.js and would appreciate some guidance with my configuration files! My goal is to be able to write postcss/scss style ...
Borovez's user avatar
  • 45
0 votes
1 answer
282 views

Im using Laravel 7.12.0 and my flash session data doesn't appear to be working at all either using request()->session()->flash('status', 'Task was successful!'); or return redirect()->...
Gazz's user avatar
  • 1,075
0 votes
1 answer
702 views

I'm running a Vue app with inertia js. My application is inside a folder in the web root like below: / -myVueApp/ -webpack.config.js -includes/ -js/ -pages/ In my app....
codeShredd's user avatar
2 votes
2 answers
10k views

I'm trying to paginate data from Laravel in Vue.Js. I'm using Inertia.js as well. In my Laravel Controller I have: $data['participants'] = User::with('groups')->select('id', 'name')->...
ejntaylor's user avatar
  • 2,131
2 votes
2 answers
6k views

I was hoping to get some additional information about the "Nested Layouts" in InertiaJS. The documentation is very scarce on it and I can barely find any sort of examples showing how it works, and the ...
Borassign's user avatar
  • 841
0 votes
1 answer
5k views

In my application, I am getting the error 302 when trying to save the data. I am posting my codes here, please someone look into this and help me. HolidayAdd.vue <template> <layout&...
anonymus's user avatar
  • 171
0 votes
2 answers
544 views

In my application, I am getting the error method not allowed when trying to save the data. I am posting my codes here, please someone look into this and help me. HolidayAdd.vue <template> ...
anonymus's user avatar
  • 171
52 votes
5 answers
87k views

I'm new using React, so this might be really simple to achieve but I can't figure it out by myself even though I've done some research. Forgive me if this is too dumb. Context I'm using Inertia.js ...
Kenny Horna's user avatar
  • 14.3k
0 votes
1 answer
485 views

So i'm trying to lazy load articles with infinite scrolling, with inertia-vue and axios, backend is laravel 6.0. Since I don't want to do unnecessary request i'm giving over the total amount of ...
David Docampo's user avatar
0 votes
2 answers
2k views

I'm using Laravel's API Resource functionality to format my responses nicely for the client, but the trouble I'm having is with the code below; /** * Transform the resource collection into an array....
Borassign's user avatar
  • 841
1 vote
2 answers
4k views

I'm trying to open a page from a button, but I need to send the id of the item where the button is in. For context this is a discussion forum page, in the users dash they are shown the forums they can ...
Nancy's user avatar
  • 1,061
0 votes
1 answer
2k views

I'm trying to make a discussion forum with comments, this is what it looks like This page has the route Route::get('forums/comment/{id}', 'ForumController@comment'); In the controller public ...
Nancy's user avatar
  • 1,061
1 vote
2 answers
4k views

I'm trying to redirect to another page with the click of a button, but for some reason it's not working, I'm not sure why? Currently it opens up a window inside the main page not even a real ...
Nancy's user avatar
  • 1,061
1 vote
1 answer
4k views

I"m starting a new project and I'm not sure why the props in my vue devtools is empty? Where is the information about the user I'm logged in as? Do I have to set that option up somewhere? This is my ...
Nancy's user avatar
  • 1,061
9 votes
1 answer
28k views

I"m trying to redirect on click to another page, for some reason it's not working. This is the code on my vue where the redirect buttons are. I've tried two different ways and neither are working....
Nancy's user avatar
  • 1,061
1 vote
1 answer
3k views

I'm trying to display in a table the infomation about a certain item in this case it's a question, information like what section it belongs to, which is the response type, and if the question is ...
Nancy's user avatar
  • 1,061
4 votes
2 answers
729 views

I'm trying to get the relationships for a model from the controller so be able to display the relationship not as a id but as that id's name or type or whatever it might be. In this case I'm trying to ...
Nancy's user avatar
  • 1,061
1 vote
1 answer
349 views

I'm trying to setup different user types and their respective permissions in my AppServiceProvider.php in my project, and I get the error explode() expects parameter 2 to be string, object given ...
Nancy's user avatar
  • 1,061
0 votes
1 answer
2k views

I'm trying to create a button that goes back to the login, or redirects to /login, currently I've tried doing it both with el-button and inertia-link, they both work but not how I would like. This ...
Nancy's user avatar
  • 1,061
5 votes
1 answer
19k views

I'm trying to setup Inertia to use in my Laravel project but it gives me errors? Where is my mistake? I installed Inertia with this command composer require inertiajs/inertia-laravel followed the ...
Nancy's user avatar
  • 1,061
9 votes
5 answers
12k views

I am starting with the Inertia Laravel example https://github.com/drehimself/inertia-example which is nothing but Laravel with Vue in one monolithic codebase, using Inertia.js: https://github.com/...
kp123's user avatar
  • 1,370
1 vote
1 answer
827 views

I have tried to set up a project with Laravel, Vue, and Inertia. I am developing on Windows using xampp. I have configured C:/xampp/apache/conf/extra/httpd-vhosts.conf with the following: <...
MatthewS's user avatar
  • 485

1
22 23 24 25
26