Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcong1993/neutrino-preset-react-zc
neutrino-preset-react-zc is a Neutrino preset that supports building React web applications
https://github.com/zcong1993/neutrino-preset-react-zc
neutrino neutrino-preset react
Last synced: about 23 hours ago
JSON representation
neutrino-preset-react-zc is a Neutrino preset that supports building React web applications
- Host: GitHub
- URL: https://github.com/zcong1993/neutrino-preset-react-zc
- Owner: zcong1993
- License: mit
- Created: 2017-06-30T08:17:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T02:27:43.000Z (over 6 years ago)
- Last Synced: 2024-09-23T08:40:22.105Z (about 2 months ago)
- Topics: neutrino, neutrino-preset, react
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neutrino-preset-react-zc
[![NPM version](https://img.shields.io/npm/v/neutrino-preset-react-zc.svg?style=flat)](https://npmjs.com/package/neutrino-preset-react-zc) [![NPM downloads](https://img.shields.io/npm/dm/neutrino-preset-react-zc.svg?style=flat)](https://npmjs.com/package/neutrino-preset-react-zc) [![CircleCI](https://circleci.com/gh/zcong1993/neutrino-preset-react-zc/tree/master.svg?style=shield)](https://circleci.com/gh/zcong1993/neutrino-preset-react-zc/tree/master)
> neutrino-preset-react-zc is a Neutrino preset that supports building React web applications, based on [neutrino-preset-react](https://github.com/mozilla-neutrino/neutrino-dev/tree/master/packages/neutrino-preset-react)
## Features
- Support [CSS modules](https://github.com/css-modules/css-modules)
- Extends from [neutrino-preset-react](https://github.com/mozilla-neutrino/neutrino-dev/tree/master/packages/neutrino-preset-react)
- Fix `svg-url-loader` config [error](https://github.com/mozilla-neutrino/neutrino-dev/issues/272)## CSS modules
> inspired by [poi](https://poi.js.org)
Files ending with `.module.css` support CSS modules by default.
To enable CSS modules for all CSS files, set `cssModules: true` in config file.
```js
module.exports = {
use: [
['neutrino-preset-react-zc', {
cssModules: true
}]
]
}
```## Install
```bash
# yarn
$ yarn add neutrino-preset-react-zc --dev
# npm
$ npm install --save-dev neutrino-preset-react-zc
```## Usage
Same as [neutrino-preset-react](https://github.com/mozilla-neutrino/neutrino-dev/tree/master/packages/neutrino-preset-react).
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**neutrino-preset-react-zc** © [zcong1993](https://github.com/zcong1993), Released under the [MIT](./LICENSE) License.
Authored and maintained by zcong1993 with help from contributors ([list](https://github.com/zcong1993/neutrino-preset-react-zc/contributors)).> [github.com/zcong1993](https://github.com/zcong1993) · GitHub [@zcong1993](https://github.com/zcong1993)