0.2.9 • Published 6 months ago
@mundorum/oid v0.2.9
-o-id
Web components based on the Digital Content Component (DCC) model for the Mundorum space.
Environment Install
In this project root directory:
npm installDevelopment
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.jsProduction Package
npx webpack
npx webpack --mode=developmentDevelopment 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