after i installed jetstream to my laravel project, i found that the auth folder is located in "vendor\laravel\jetstream\stubs\livewire\resources\views\auth" which was suppose to be located in "ressources\views" and i can't modify the blades to add more fields.What should i do ?
And thanks.
Related
I am using laravel auth for login, registration and password reset.
It has generated all views and I have customized everything and it works.
Now I want to customize the email templates, but I have no clue where they are and what the best practise is to do it.
They are not in resources/views/vendor ... .I do not have the vendor folder inside resources/views. I only have the sites there.
php artisan vendor:publish --tag=laravel-mail
now u have resources/views/vendor/mail
css is inside themes folder called default.css
i think u can figure it out from there. Basically its just blade components
I'm currently working on application's translation with Laravel Localization (laravel 5.6).
I succeed my text translation on blade templates but I have some view using vuejs.
Into them I can't use directly laravel localization.
I understand that I have to send my translations files (which are in PHP) into the vue in JS.
I found some packages like :
https://github.com/rmariuzzo/Laravel-JS-Localization ; but it doesn't support laravel 5.6 (damned)...
https://github.com/martinlindhe/laravel-vue-i18n-generator ; Laravel 5 package is no longer maintain...
This application use Laravel 5.6 and vue 2.
I can't completely reorganize or upgrade Laravel or vue version.
After many research I'm still not able to do it...
Do you know how can I made translation into my vue component?
Thanks a a lot!
My Laravel installation is in a subfolder/subapp. I then installed Backpack 4.1. Url of backpack login is something like http://example.test/laravel/admin/login.
My Laravel is running fine as a second app in the subfolder (I used nginx to manage the main app and the laravel app as second app in sub-folder).
But the backpack page is not loading the CSS and JS files as /public/ of laravel is missing in the path.
I tried to add ASSET_URL=public in .env of laravel. But did not work.
Need help on this.
Thank you.
I have created a project in Vue.js and now i just want to integrate that vuejs project with laravel 5 plus. Should it be done by the build or by the components of vue.? Thank You.
The easy way for build Vue in Laravel
after you download your Laravel project, you open your terminal and type
npm install
Vue auto installed in your Laravel project
app/resources/assets/js/app.js
You need to change your Laravel route in web.php
Route::any('{all}', function(){
return view('app');
})->where('all', '.*');
After you change your Laravel router, you can use Vue router for instead Laravel router.
Everything work for me.
There are 2 projects:
Built in core php.[main project]
Built in laravel.
We are integrating laravel with php. In core php folder I am placing a laravel folder. In main project I am linking to laravel project by click on a particular link.
During login to the main project [core php], we are setting emailid into session.
I want that emailid session value in to laravel folders. how do I access that core php session value from laravel project folder.
Is it possible?
Example link click here
but still there is some issues in that as laravel not able to access session object data