A
A
Alexander2016-06-20 13:51:44
HTML
Alexander, 2016-06-20 13:51:44

How to connect layout (foundation6 template + gulp) with laravel project?


I’m making a one-pager so that there is a simple admin panel,
I decided that this is a good reason to learn new, for myself,
NPM, GULP technologies ...
well, Laravel backend installed the
foundation zurb blank . fasten laravel need advice how to do it correctly how to properly organize the File structure ? put the folder with the layout in the root of the lara and stupidly set it up so that the template is going to the folder with the views? - this is probably not a good idea, I would like to understand the direction ... :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2016-06-30
@alexmixaylov

As far as I understand, the task looks like this:
There is a controller for serving the front application to the user,
SPAs usually communicate with the server via RESTful api (angular, backbone, react, extjs).
I have no experience with laravel, but it seems to me that the approach is the same.
You only need to give the application to the browser, then all the logic is performed on the client.
That is, you can add files to a public folder.
In general, here is a real example https://scotch.io/tutorials/create-a-laravel-and-a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question