Permalink
Browse files

It works!!!

  • Loading branch information...
lucapette committed Jan 28, 2017
1 parent ab53953 commit c053e8fd5b21467f595c2c2798dd0f398bd9d9c5
Showing with 38 additions and 3 deletions.
  1. +2 −0 package.json
  2. +4 −1 src/App.js
  3. +10 −1 webpack.config.js
  4. +22 −1 yarn.lock
View
@@ -17,8 +17,10 @@
"flow-bin": "^0.38.0",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"semantic-ui-css": "^2.2.4",
"semantic-ui-react": "^0.64.4",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "2",
"webpack-dev-server": "2"
},
View
@@ -4,7 +4,10 @@ import React from 'react';
import ReactDOM from 'react-dom';
import Layout from './Layout';
import { Button } from 'semantic-ui-react'
import { Button } from 'semantic-ui-react';
import 'semantic-ui-css/semantic.css';
import 'semantic-ui-css/semantic.js';
const ButtonExampleEmphasis = () => (
<div>
View
@@ -1,4 +1,5 @@
var path = require("path");
var webpack = require("webpack");
const config = {
devtool: "#source-maps",
@@ -20,11 +21,19 @@ const config = {
},
{
test: /\.css$/,
exclude: /node_modules/,
use: ["style-loader", "css-loader"]
},
{
test: /\.(eot|woff|woff2|ttf|svg|png|jpg)$/,
use: ["url-loader"]
}
]
},
plugins: [
new webpack.ProvidePlugin({
'jQuery': 'jquery'
})
],
devServer: {
contentBase: path.join(__dirname, "public")
},
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit c053e8f

Please sign in to comment.