Skip to content

Instantly share code, notes, and snippets.

@joshuacrass
Created September 12, 2018 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuacrass/bcbec4f143e537b0d9a88c434b23cb93 to your computer and use it in GitHub Desktop.
Save joshuacrass/bcbec4f143e537b0d9a88c434b23cb93 to your computer and use it in GitHub Desktop.
webpack-scss app.jsx
import React from 'react';
import { hot } from 'react-hot-loader';
import Button from 'Components/button';
import style from './app.scss';
const App = () => (
<div className={style.app}>
React Starter
<span role="img" aria-label="rocket ship">
🚀
</span>
<Button />
<div className={style.sassyDiv}>Get Sassy!</div>
</div>
);
export default hot(module)(App);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment