最佳答案
在您的终端中:
npm install page
然后在节点中:
> var page = require('page')
undefined
> page
{ [Function: page]
callbacks: [],
base: [Function],
start: [Function],
stop: [Function],
show: [Function],
replace: [Function],
dispatch: [Function],
Context: [Function: Context],
Route: [Function: Route] }
这就是你要找的吗?
关于javascript - 如何安装page.js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14180367/