neutrino-preset-react-zc
neutrino-preset-react-zc is a Neutrino preset that supports building React web applications, based on neutrino-preset-react
Features
- Support CSS modules
- Extends from neutrino-preset-react
- Fix
svg-url-loader
config error
CSS modules
inspired by poi
Files ending with .module.css
support CSS modules by default.
To enable CSS modules for all CSS files, set cssModules: true
in config file.
moduleexports = use: 'neutrino-preset-react-zc' cssModules: true
Install
# yarn $ yarn add neutrino-preset-react-zc --dev# npm $ npm install --save-dev neutrino-preset-react-zc
Usage
Same as neutrino-preset-react.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
neutrino-preset-react-zc © zcong1993, Released under the MIT License.
Authored and maintained by zcong1993 with help from contributors (list).
github.com/zcong1993 · GitHub @zcong1993