1
0
Fork 0

Use bower

This commit is contained in:
Gregory Eremin 2015-03-07 22:33:02 +07:00
parent 0896799a25
commit 0ab37161bb
3 changed files with 19 additions and 4 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
config.json
config/*/*
*.txt
app/.module-cache
app/bower_components
// Ignore compiled app for now
app/app.js

View File

@ -3,12 +3,12 @@
<head>
<meta charset="utf8">
<title>Empact</title>
<link rel="stylesheet" href="/normalize.css">
<link rel="stylesheet" href="/bower_components/normalize.css/normalize.css">
<link rel="stylesheet" href="/app.css">
</head>
<body></body>
<script src="/react.js"></script>
<script src="/react-router-0.11.6.min.js"></script>
<script src="/jquery-2.1.3.min.js"></script>
<script src="/bower_components/react/react.js"></script>
<script src="/bower_components/react-router/build/global/ReactRouter.js"></script>
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src="/app.js"></script>
</html>

10
app/bower.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "Empact",
"ignore": [],
"dependencies": {
"react": "0.12.2",
"react-router": "0.12.4",
"jquery": "2.1.3",
"normalize.css": "3.0.2"
}
}