turbolinks / turbolinks-ios

Native iOS adapter for building hybrid apps with Turbolinks 5
MIT License
881 stars 92 forks source link

Possible to use without Rails? #90

Closed RobertCordes closed 7 years ago

RobertCordes commented 7 years ago

Probably a stupid question but I wanted to be sure. Is it possible to use this without a Rails app? I normally build Rails apps but we have to create our next one with Laravel and there has to be an iOS/Android version.

Have a nice day!

exalted commented 7 years ago

@RobertCordes AFAIK absolutely! In fact, the demo app is a tiny sinatra app (check out the Gemfile).

As per the README:

Turbolinks for iOS provides the tooling to wrap your Turbolinks 5-enabled web app in a native iOS shell [emphasis mine].

Cheers! 🍻

exalted commented 7 years ago

Laravel

I probably should also point out that, I am not sure whether Laravel does/can support Turbolinks or not, but Rails is not a strict dependency.

RobertCordes commented 7 years ago

@exalted Great, thanks! That’s good to know. When I have the time I will do a quick test and post my findings here ;-) Just in case anyone else wants to know.

exalted commented 7 years ago

That would be great @RobertCordes. Have a nice day!

emilsundberg commented 7 years ago

@RobertCordes Did you get things working with Laravel and Turbolinks? I'm trying it out right now but no success yet.

RobertCordes commented 7 years ago

@emilsundberg Yeah, I basically got it working though didn't get it to play nice with Vue. I still have it somewhere so if you have any specific questions maybe I can help. (I don't really remember what I did step by step).

emilsundberg commented 7 years ago

@RobertCordes If you want to share I'd love to see your solution. Contact details in profile.

I got our first attempt working with the Laravel backend now :)