modular-template-app

2.0.0 • Public • Published

PackageName__

This is a Modular App

Build

To build your app for deployment, run:

modular build PackageName__

The resulting output is an optimized site that can be served statically. All code (files in src plus external dependencies required in the code) is bundled in a single blob of code that can be split in different files.

Start

To run your app locally on a development server, run start:

modular start PackageName__

This causes a developer server to run on port 3000, serving the app with an additional runtime layer that provides developer experience functionalities like hot reloading and on-screen error overlay.

Entry-point

Apps need an entry-point file located at src/index.tsx, which typically uses React to render components to the DOM, generated at public/index.html.

Template

Apps are generated by modular add using the modular-template-app template.

Readme

Keywords

none

Package Sidebar

Install

npm i modular-template-app

Weekly Downloads

2

Version

2.0.0

License

Apache-2.0

Unpacked Size

28.9 kB

Total Files

16

Last publish

Collaborators

  • lukesheard
  • modular-publisher