Closed leoj3n closed 7 years ago
The current "Use" step in the README should really be part of the "Install" step:
Install Install steal-less as an npm dependency: npm install steal-less --save-dev Next, add steal-less as a plugin to the steal section of package.json: ... "steal": { "plugins": [ "steal-less" ] }
Install steal-less as an npm dependency:
steal-less
npm install steal-less --save-dev
Next, add steal-less as a plugin to the steal section of package.json:
plugin
steal
package.json
... "steal": { "plugins": [ "steal-less" ] }
Then, the "Use" step should probably be updated to something like:
Use Once installed, steal-less allows you to import/require/steal Less files within your project: // ES6 import "style.less!"; // AMD define(["style.less!"],function(){ ... }); // CommonJS require("style.less!"); // steal steal("style.less!")
Once installed, steal-less allows you to import/require/steal Less files within your project:
// ES6 import "style.less!"; // AMD define(["style.less!"],function(){ ... }); // CommonJS require("style.less!"); // steal steal("style.less!")
I can submit a PR for this if it's agreeable.
Sure
Closed by #51
The current "Use" step in the README should really be part of the "Install" step:
Then, the "Use" step should probably be updated to something like:
I can submit a PR for this if it's agreeable.