跳到内容

游乐场

请等待 runkit 初始化,然后单击 run 按钮

const stylus = require("stylus"); const str = ` // 你的 stylus 代码 body color white ` stylus.render(str, { filename: 'playground.css' }, function(err, css){ if (err) throw err; console.log("stylus 编译结果:", css); });