D
D
dk-web2015-11-04 18:39:16
Laravel
dk-web, 2015-11-04 18:39:16

What is the assets folder for in laravel?

The question is very controversial and primitive, but that's why it is the 99th in my collection.
vshost is set to blah-blah-blah/public
Accordingly, the assets folder is outside the root.
What is its essence? there and sass daddy lies and css. Thus, with the connection of css, a headache arises.
Am I doing the right thing by creating both css and js and images in the public folder... And I already include src(href) /href(src)="/css(js)/....
But what are assets for?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Idel Gizatullin, 2015-11-04
@dk-web

The /assets folder usually contains uncompiled styles and scripts. Coffescript, sass, less... that's it. And in theory, you need to configure Elixir (an add-on for the gulp) so that it sends already concatenated and minified files to /public.
Such matters, I hope, clarified.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question