Skip to content

Instantly share code, notes, and snippets.

View a-m-dev's full-sized avatar

Ahmad Mirzaei a-m-dev

View GitHub Profile
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
module.exports = {
entry: {
app: './src/js/index.jsx'
},
import React, { PropTypes } from 'react'
class CoursesPage extends React.Component {
constructor(props) {
super();
this.state = {
course: {
title: ''