1.0.6 • Published 7 years ago

react-template-loader v1.0.6

Weekly downloads
3
License
ISC
Repository
-
Last release
7 years ago

react-template-loader

Installation

Install the webpack loader from [npm](https://www.npmjs.com/package/react-template-loader).
- `npm install --save-dev react-template-loader`

add the code in webpack.config.js
```webpack.config.js
loaders: ['react-template-loader']
```

What does it use

The `react-template-loader` can transform string to jsx & can read template file and transform file to jsx

Use method

You can use three method in your code
1, template: `<div></div>`
2, templateUrl: `./src/app/page.html`
3, `<div></div>`

templateUrl

This path is relative to where you run `webpack`
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago