![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
laravel-elixir-stylus
Advanced tools
This Laravel Elixir extension allows you to compile Stylus.
First, pull in the extension through NPM.
npm install --save-dev laravel-elixir-stylus
Next, add it to your Elixir-enhanced Gulpfile, like so:
var elixir = require('laravel-elixir');
require('laravel-elixir-stylus');
elixir(function(mix) {
mix.stylus('app.styl');
});
That's it! You're all set to go!
Assuming you write...
elixir(function(mix) {
mix.stylus('app.styl');
});
...this will compile your resources/assets/stylus/app.styl
file to ./public/css/app.css
.
If you'd like to set a different output directory, you may pass a second argument to the stylus()
method, like so:
mix.stylus('app.styl', './public/scripts/styles.css')
Finally, if you want to override the Stylus plugin options, you may pass an object as the third argument.
mix.stylus('app.styl', null, {});
// See options at: https://www.npmjs.com/package/gulp-stylus#options
This extension includes a PostCSS adapter out of the box, as well as support for the incredibly impressive Lost grid system. Check out the documentation in that link, and immediately start using it in your projects with this extension. Zero setup. :)
If there are other PostCSS plugins you want to pull in, you may use the third argument to mix.stylus()
-
var postStylus = require('poststylus'); // npm install --save-dev poststylus
mix.stylus('app.styl', null, {
use: [postStylus(['lost', 'postcss-position'])]
});
FAQs
Laravel Elixir Stylus Extension
The npm package laravel-elixir-stylus receives a total of 0 weekly downloads. As such, laravel-elixir-stylus popularity was classified as not popular.
We found that laravel-elixir-stylus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.