Express 如何在我的应用程序客户端使用带包裹的Bootstrap 4?

Express 如何在我的应用程序客户端使用带包裹的Bootstrap 4?,express,bootstrap-4,pug,bower,parceljs,Express,Bootstrap 4,Pug,Bower,Parceljs,根据鲍尔的网站,他们建议在前端使用Parcel。在过去,我曾与鲍尔合作: npm install -g bower 在我的app.js中,我告诉Express客户端的位置: app.use(express.static(path.join(__dirname, 'public'))) 在.bowerrc@root级别中,它包括: { "directory":"public/bower_components" } 在终端中,我运行boweri bootstrap和boweri jquer

根据鲍尔的网站,他们建议在前端使用Parcel。在过去,我曾与鲍尔合作:

npm install -g bower
在我的app.js中,我告诉Express客户端的位置:

app.use(express.static(path.join(__dirname, 'public')))
在.bowerrc@root级别中,它包括:

{
  "directory":"public/bower_components"
}
在终端中,我运行
boweri bootstrap
boweri jquery

结果如下:

/application
  /models
  /node_modules
  /public
    /bootstrap
    /jquery
  /views
    index.pug
  .bowerrc
  app.js
  package.json
在《帕格》中,我将引导称为:

doctype html
html
  head
    title #{title}
    link(rel='stylesheet' href='/bower_components/bootstrap/dist/css/bootstrap.min.css')
  body
    block content
    br
    hr
如何在室内而不是在凉亭内完成?我能从我的研究中找到的只是:“在包裹的文档中找不到任何结果。”