Nuclear Power Manager

    isv-rx-radium-loader

    10.0.9 • Public • Published

    Usage

    in RX project,

    //index.js
    var style = require('style.css');
    import {Component} from '@ali/rx';
    import {View} from '@ali/rx-components';
    export default class XXX extends Component{
        render() {
            return <View style={style.wrap}></View>;
          }
    }
    
    //webpack.config.js
    var rxLoaders = [];
    rxLoaders.push('@ali/rx-radium-loader');
    rxLoaders.push('css-loader');
    
    loaders: [
          {
            test: /\.css?$/,
            loader: rxLoaders.join('!')
          }
        ]
    

    Test

    • npm install
    • run webpack test

    Install

    npm i isv-rx-radium-loader

    DownloadsWeekly Downloads

    3

    Version

    10.0.9

    License

    ISC

    Last publish

    Collaborators

    • smalldragonluo