/tailwindless

Tailwindcss Less Version

Primary LanguageLessMIT LicenseMIT

Tailwindcss Less Version

  • 基于 Tailwindcss@1.9.0 构建

  • 因为项目需要兼容到 less@2.5.3,所以很多方法(eachrange 等)暂时不使用。

Install

  • npm install
pnpm i @cherrol/tailwindless
# npm i @cherrol/tailwindless
# yarn add @cherrol/tailwindless
// in js
import "@cherrol/tailwindless/dist/index.css";
// in css
@import "@cherrol/tailwindless/dist/index.css";
  • Custom import in less
// variables
@import "~node_modules/@cherrol/tailwindless/src/variables/_export.less";
// mixins
@import "~node_modules/@cherrol/tailwindless/src/mixins/_export.less";
// classes
@import "~node_modules/@cherrol/tailwindless/src/classes/_export.less";