Can anyone tell why this code generates the all.css file:
elixir(function(mix) {
mix.copy(
'bower_components/semantic-ui/dist/semantic.css',
'public/css/vendor/semantic-ui/semantic.css'
)
.copy(
'bower_components/semantic-ui/dist/semantic.js',
'public/js/vendor/semantic-ui/semantic.js'
)
.copy(
'bower_components/jquery/dist/jquery.js',
'public/js/vendor/jquery/jquery.js'
)
.stylesIn("public/css");
});
But this code does not:
elixir(function(mix) {
mix.copy(
'bower_components/semantic-ui/dist/semantic.css',
'public/css/vendor/semantic-ui/semantic.css'
)
.copy(
'bower_components/semantic-ui/dist/semantic.js',
'public/js/vendor/semantic-ui/semantic.js'
)
.copy(
'bower_components/jquery/dist/jquery.js',
'public/js/vendor/jquery/jquery.js'
)
.styles([
"css/sfm.css"
]);
});
What error???
This will assume that the resources/css folder is the base directory.
tuyenlaptrinh said:
What error???
This will assume that the resources/css folder is the base directory.
No present error. Only not generate file all.css, like stylesIn generate.
tuyenlaptrinh said:
Are you sure folder's resources/css exits
Bingo!
After documentation was updated by Jeffreway there 21h ago, I saw that the new folders are resources/css and resources/js.
Thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community