umi-plugin-stylus

1.0.1 • Public • Published

umi-plugin-stylus

A umijs plugin for using stylus

npm package

NPM version NPM Downloads

Install

$ npm install --save-dev stylus stylus-loader umi-plugin-stylus

Optional Configuration

{
  stylusLoader: {
    // ...
  }
}

Stylus loader options

Other changes

typings.d.ts

  declare module '*.css';
+ declare module '*.styl';
  declare module '*.less';
  declare module '*.png';
  declare module '*.svg' {
    export function ReactComponent(props: React.SVGProps<SVGSVGElement>): React.ReactElement
    const url: string
    export default url
  }

/umi-plugin-stylus/

    Package Sidebar

    Install

    npm i umi-plugin-stylus

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.27 kB

    Total Files

    3

    Last publish

    Collaborators

    • fengxinming