@pageboard/statics

0.2.1 • Public • Published

pageboard-static

Install and mount directories under three paths:

  • /.pageboard/ mapped to /pageboard/...
  • /.files// mapped to /files//...
  • /.uploads mapped to /uploads//...

API

All.statics.install({domain, mounts})

A mount is an object like:

{
  from: "some/path/dir",
  to: "


Example site object
-------------------

site: { data: { "dependencies": { pageboard-elements: "^1.0", pageboard-custom-site: "kapouer/pageboard-custom-site#1.0" }, } }


Each dependency can add directories by setting a "pageboard.directories" list
of relative paths in its package.json.

Readme

Keywords

none

Package Sidebar

Install

npm i @pageboard/statics

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

8.2 kB

Total Files

4

Last publish

Collaborators

  • kapouer