mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
import bootstrap in test_app
This commit is contained in:
parent
4106531bd7
commit
ccb77051f8
@ -106,6 +106,17 @@ class Pipeline {
|
|||||||
{ loader: "style-loader" },
|
{ loader: "style-loader" },
|
||||||
{ loader: "css-loader" }
|
{ loader: "css-loader" }
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
test: /\.scss$/,
|
||||||
|
use: [
|
||||||
|
{ loader: "style-loader" },
|
||||||
|
{ loader: "css-loader" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
test: /\.(png|woff|woff2|eot|ttf|svg)$/,
|
||||||
|
loader: 'url-loader?limit=100000'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
"css-loader": "^0.28.7",
|
"css-loader": "^0.28.7",
|
||||||
"ejs": "^2.5.7",
|
"ejs": "^2.5.7",
|
||||||
"ethereumjs-testrpc": "3.9.2",
|
"ethereumjs-testrpc": "3.9.2",
|
||||||
|
"file-loader": "^1.1.5",
|
||||||
"finalhandler": "^0.5.0",
|
"finalhandler": "^0.5.0",
|
||||||
"follow-redirects": "^1.2.4",
|
"follow-redirects": "^1.2.4",
|
||||||
"fs-extra": "^2.0.0",
|
"fs-extra": "^2.0.0",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"toposort": "^1.0.0",
|
"toposort": "^1.0.0",
|
||||||
"underscore": "^1.8.3",
|
"underscore": "^1.8.3",
|
||||||
"underscore.string": "^3.3.4",
|
"underscore.string": "^3.3.4",
|
||||||
|
"url-loader": "^0.6.2",
|
||||||
"web3": "^0.19.1"
|
"web3": "^0.19.1"
|
||||||
},
|
},
|
||||||
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Embark - SimpleStorage Demo</title>
|
<title>Embark - SimpleStorage Demo</title>
|
||||||
<link rel="stylesheet" href="css/app.css">
|
<!-- <link rel="stylesheet" href="css/app.css"> -->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js"></script>
|
||||||
<script src="js/bootstrap.js"></script>
|
<!-- <script src="js/bootstrap.js"></script> -->
|
||||||
<script src="js/app.js"></script>
|
<script src="js/app.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="container">
|
<body class="container">
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
/*globals $, SimpleStorage, document*/
|
/*globals $, SimpleStorage, document*/
|
||||||
|
|
||||||
import $ from './_vendor/jquery.min';
|
//import $ from './_vendor/jquery.min';
|
||||||
|
import $ from 'jquery';
|
||||||
|
import 'bootstrap';
|
||||||
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||||
|
//import 'bootstrap/dist/js/bootstrap.min.js';
|
||||||
import EmbarkJS from 'Embark/EmbarkJS';
|
import EmbarkJS from 'Embark/EmbarkJS';
|
||||||
import SimpleStorage from 'Embark/contracts/SimpleStorage';
|
import SimpleStorage from 'Embark/contracts/SimpleStorage';
|
||||||
|
|
||||||
|
@ -11,7 +11,9 @@
|
|||||||
"homepage": "",
|
"homepage": "",
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"bootstrap": "^3.3.6",
|
||||||
"embark-babel": "^1.0.0",
|
"embark-babel": "^1.0.0",
|
||||||
"embark-service": "./extensions/embark-service"
|
"embark-service": "./extensions/embark-service",
|
||||||
|
"jquery": "^1.11.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user