🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

modular-template-app

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modular-template-app

This is a [Modular App](https://modular.js.org/package-types/app)

latest
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

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.

FAQs

Package last updated on 09 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts