I installed jQuery and Bootstrap with Bower.
I got this error
syntaxerror: expected expression, got '<' <!doctype html> jquery
My code
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
There is my folder structure
http://laravel.io/bin/d9MnD
I also tried to put the code in head, but did not work
Here is my server data
var express = require('express'),
app = express();
app
.use(express.static('./public'))
.get('*', function (req, res) {
res.sendfile('public/main.html');
})
.listen(3000);
jqueryfirst then,bootstrap?