modular-template-app
v2.0.0
Published
This is a [Modular App](https://modular.js.org/package-types/app)
Downloads
9
Readme
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.