Closed rappasoft closed 7 years ago
And I just got comfortable with 5.3 :( Awesome job on boilerplate, take your time!
It's an issue in the industry when even the frameworks you adopt have themselves shiney syndrome.
On Wed, 25 Jan 2017 at 02:37 Derek Au notifications@github.com wrote:
And I just got comfortable with 5.3 :( Awesome job on boilerplate, take your time!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rappasoft/laravel-5-boilerplate/issues/609#issuecomment-275003621, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNqM689W8BaSMVIyqfXs1IPX_NgOOwvks5rVrVzgaJpZM4LsgPr .
Thank you @rappasoft .
Hey, i was wondering, whats the progress here? :)
Waiting for laravel collective to update before I start.
They've created branch 7.0 for Laravel 5.4 support, @rappasoft .
I've migrated most of the files over minus the tests (Dusk?) and the assets because i'm having a hard time figuring our laravel mix as it doesn't work the same as elixir and they find it necessary to change this in every version. So i'm trying to find more documentation since the laravel docs lack in this section.
@rappasoft, you could check out Spark 4 and see how they got mix working. personally, I'm trying my best to ignore 5.4 while I learn Vue 2.
Also focusing on learning Vue 2 since some of my packages i needed messed things up so im sticking to 5.3 for now.
All though i have some recommendations regarding Vue 2 @derekphilipau and that is to start working with Axios in stead of vue-resource since 5.4 has gone over from soon to be deprecated vue-resource to Axios.
Correct me if im wrong but here is what i did:
In bootstrap.js change
require('vue-resource');
Vue.http.interceptors.push((request, next) => {
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
next();
});
to
window.axios = require('axios');
window.axios.defaults.headers.common = {
'X-Requested-With': 'XMLHttpRequest'
};
and in package.json change
"vue-resource": "^1.0.3"
to
"axios": "^0.15.3"
This way you dont have to change any Vue-code when moving to 5.4 later.
Then make ajaxcalls with:
createItem: function() {
var input = this.newProject;
axios.post('/admin/customer/projectCreateApi', input).then(response => {
this.newProject = {
title: ''
};
}).catch((error) => {
if (error.response) {
this.formErrors = error.response.data;
} else {
console.log('Error', error.message);
}
console.log(error.config);
});
}
and the same for get and patch
Hey guys! I was also wondering what is the progress with the update? No pressure though :)
God im eager to move to 5.4 :) I have been trying Vue in 5.4 and man do i like the new laravel-mix, it's lightning fast and the watch works great.
Keep up the god work @rappasoft :)
Anyone know if this RTL CSS thing will still work with laravel mix since its built on webpack?
Dev branch is now up to speed with what i've been working on: https://github.com/rappasoft/laravel-5-boilerplate/commit/e538a893513d79b7e4e148841a6b3474994549b0
Major Outstanding:
Minor/Upgrades:
Plus:
Other small things.
Please feel free to make PR's to help as I am low on time hence why it's taking so long.
Big shout out to @jonphipps for the help thus far.
Thanks Anthony. Great job! (as always). Just installed the new version and all went smoothly. Will do some further testing.
As for the documentation, please add "npm run dev" in order to create the necessary css and js files.
Yes the documentation I will duplicate and update what's changed so older versions are available.
I'll do the documentation before I merge master, but there's still much to do as anticipated.
Current dev branch looking almost done. Will probably release in the next few days, still have to do the new docs.
select2, datapicker and ck editor are not integrated in laravel 5.4, i have installed saperately too but i think due to mistake in order it is not being running.
I know Laravel 5.4 released today, but don't expect an update right away as I first have to wait for Laravel Collective to update their repositories to 5.4.
Also, since they changed almost everything about Vue and Webpack/Gulp/Mix whatnot, I'll probably refactor that whole thing.
Or I might just start from a fresh 5.4 installation if it becomes a problem.
Patience is appreciated.