• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-webpack-generators / generator-react-webpack / 352
74%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2016 11:02AM UTC
Jobs 2
Files 11
Run time 33s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
352

Pull #310

travis-ci

web-flow
Added support for configuring a className prefix

This feature allows users to put a `cssClsPrefix` property into their
.yo-rc.json. If configured, the component generator will add this string
as a prefix to className attributes.

Example:

	// .yo-rc.json
	{
	  "generator-react-webpack": {
	    "appName": "v4-latest-install",
	    "style": "css",
	    "cssmodules": false,
	    "cssClsPrefix": "myapp",
	    "postcss": false,
	    "generatedWithVersion": 4
	  }
	}

Components generated will now prepend the `myapp` prefix on their class
names, e.g.

	$ yo react-webpack:component hello
	<div className="myapp-hello-component" />
Pull Request #310: Added support for configuring a className prefix

5 of 5 new or added lines in 2 files covered. (100.0%)

245 of 255 relevant lines covered (96.08%)

456.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 352.1 23 Nov 2016 11:03AM UTC 0
96.08
Travis Job 352.1
2 352.2 23 Nov 2016 11:02AM UTC 0
96.08
Travis Job 352.2
Source Files on build 352
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #352
  • Pull Request #310
  • PR Base - master (#347)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc