/taro-to-react-loader

File for converting taro language to real executable loader.

Primary LanguageJavaScript

taro-to-react-loader

File for converting taro language to real executable loader.

Getting Started

To begin, you'll need to install taro-to-react-loader:

$ npm install taro-to-react-loader --save-dev

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.jsx?$/i,
        use: [
          {
            loader: 'taro-to-react-loader',
            options: {}
          },
        ],
      },
    ],
  },
};

And run webpack via your preferred method.