0.1.0 • Published 7 months ago

@mundorum/oid v0.1.0

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
7 months ago

-o-id

Web components based on the Digital Content Component (DCC) model for the Mundorum space.

Environment Install

In this project root directory:

npm install

Development

To bundle the JavaScript components and infrastructure, we adopt WebPack. The following statements build the development and production packages:

Development Package

npx webpack --config webpack.config.dev.js

Production Package

npx webpack
npx webpack --mode=development

Development Server

If you wish to run tests in code developed under the -o-id framework, we advise installing the node.js Web Dev Server. The <script type="module">, usual in the development mode, do not accept module inclusion from file: pages; they must be http(s):.

  • installing http-server: npm install @web/dev-server --save-dev
  • running http-server: npx web-dev-server --node-resolve