<code> var connect = require('connect'); var app = connect() .use(connect.cookieParser()) .use(function(req,res){ console.log(req.cookie); console.log(req.signedCookies); }).listen(3000);</code>
提示:connect.cookieParser is not a function;
在用bodyParser的時候也會提示,
網上說是從connect中脫離出來了,要重新npm install cookieParser ,
那bodyParser 也需要嗎,所有的自帶中間件都需要?