New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-template-loader

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-template-loader

react-template-loader

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

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`

Keywords

react

FAQs

Package last updated on 06 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts