@hankliu/style

1.0.0 • Public • Published

HankLiu Style Base

提供基础的Less变量、常用的 class 样式以及 mixins。

安装

npm install @hankliu/style -D

or

yarn add @hankliu/style -D

使用

  • in webpack.config.js
const styleLoader = require('@hankliu/style');

/* Webpack@2+: webpack.config.js */
module: {
  rules: [
    {
      test: /\.less$/,
      use: [
        'style-loader',
        'css-loader',
        'postcss-loader',
        'less-loader',
        ...
        styleLoader,
      ],
    },
  ],
},

/@hankliu/style/

    Package Sidebar

    Install

    npm i @hankliu/style

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    16.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • hank.liu