0.0.1 • Published 6 years ago
auto-css-reac v0.0.1
auto-css-react
Automatically create and import stylesheets for your React components.
Install
Install auto-css using npm:
npm install --global auto-css-reacUsage
auto-cssBy default, auto-css generates css files. You can change the file extension with the -e flage:
auto-css -e scssauto-css also has the option to auto-fill React components:
auto-css -e scss -fwould generate the following code:
import React from 'react';
import "./Nav.scss";
const Nav = (): JSX.Element => (
<div className="nav"></div>
);
export default Nav;0.0.1
6 years ago