Skip to content

Commit

Permalink
It works!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapette committed Jan 28, 2017
1 parent ab53953 commit c053e8f
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -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"
},
Expand Down
5 changes: 4 additions & 1 deletion src/App.js
Expand Up @@ -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>
Expand Down
11 changes: 10 additions & 1 deletion webpack.config.js
@@ -1,4 +1,5 @@
var path = require("path");
var webpack = require("webpack");

const config = {
devtool: "#source-maps",
Expand All @@ -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")
},
Expand Down
23 changes: 22 additions & 1 deletion yarn.lock
Expand Up @@ -1937,6 +1937,10 @@ jodid25519@^1.0.0:
dependencies:
jsbn "~0.1.0"

jquery@x.*:
version "3.1.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3"

js-base64@^2.1.9:
version "2.1.9"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.1.9.tgz#f0e80ae039a4bd654b5f281fc93f04a914a7fcce"
Expand Down Expand Up @@ -2036,7 +2040,7 @@ loader-runner@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.2.0.tgz#824c1b699c4e7a2b6501b85902d5b862bf45b3fa"

loader-utils@^0.2.11, loader-utils@^0.2.16, loader-utils@^0.2.7, loader-utils@~0.2.2:
loader-utils@0.2.x, loader-utils@^0.2.11, loader-utils@^0.2.16, loader-utils@^0.2.7, loader-utils@~0.2.2:
version "0.2.16"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.16.tgz#f08632066ed8282835dff88dfb52704765adee6d"
dependencies:
Expand Down Expand Up @@ -2139,6 +2143,10 @@ mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.13, mime-types@~2.1.7:
dependencies:
mime-db "~1.26.0"

mime@1.2.x:
version "1.2.11"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.2.11.tgz#58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10"

mime@1.3.4, mime@^1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
Expand Down Expand Up @@ -3008,6 +3016,12 @@ select-hose@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"

semantic-ui-css@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/semantic-ui-css/-/semantic-ui-css-2.2.4.tgz#e886e6e55e2a16874bd5de49c25f26cd2eb720b7"
dependencies:
jquery x.*

semantic-ui-react@^0.64.4:
version "0.64.4"
resolved "https://registry.yarnpkg.com/semantic-ui-react/-/semantic-ui-react-0.64.4.tgz#95b29fd3d4885e05f7aa3cb1497ebe73c99df027"
Expand Down Expand Up @@ -3386,6 +3400,13 @@ unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"

url-loader@^0.5.7:
version "0.5.7"
resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.5.7.tgz#67e8779759f8000da74994906680c943a9b0925d"
dependencies:
loader-utils "0.2.x"
mime "1.2.x"

url-parse@1.0.x:
version "1.0.5"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.0.5.tgz#0854860422afdcfefeb6c965c662d4800169927b"
Expand Down

0 comments on commit c053e8f

Please sign in to comment.