Level 9
npm install --save lost
my current webpack.mix.js
mix.options({
postCss: [
require('lost')
],
});
mix.js('resources/assets/js/app.js', 'public/js')
.stylus('resources/assets/stylus/app.styl', 'public/css');
2 likes
I use Stylus and I had this piece of code in my previous Laravel project (5.3) (inside gulpfile.js) :
mix.stylus('app.styl', './public/css/app.css', {
use: [postStylus(['lost']), rupture()]
})
Now I'm trying curious how can I use LostGrid with Stylus in the new 5.4 version of the framework which uses webpack.
Any help would be appreciated.
npm install --save lost
my current webpack.mix.js
mix.options({
postCss: [
require('lost')
],
});
mix.js('resources/assets/js/app.js', 'public/js')
.stylus('resources/assets/stylus/app.styl', 'public/css');
Please or to participate in this conversation.