Single-file Components For React – one-loader

A webpack loader to enable single-file React components.

Features:

  • CSS and JavaScript code co-located in a single .one file (extension is configurable)
  • Configurable loaders for JavaScript and CSS
  • Support for scoped styles through CSS Modules (using css-loader)

Installation:

$ npm i –save-dev one-loader

Preview:

one-loader

Download Details:

Author: digitalie

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/digitalie/one-loader

License: MIT

You Might Be Interested In:

Add Comment