Package Exports
- create-near-app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-near-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Create NEAR App
Create web app running on NEAR Protocol blockchain with zero configuration required.
Both plain JS and React templates are available. The default generator is for react project
Usage
In command line, run different command to build different blank project:
React JS app:
npx create-near-app path/to/your/new-awesome-app
Plain app:
npx create-near-app --vanilla(--plain) path/to/your/new-awesome-app
With initialization command:
React JS app:
npm init near-app path/to/your/new-awesome-app
Plain app:
npm init near-app --vanilla(--plain) path/to/your/new-awesome-app
If yarn is installed:
React JS app:
yarn create near-app path/to/your/new-awesome-app
Plain app:
yarn create near-app --vanilla(--plain) path/to/your/new-awesome-app
Caveats
Make sure to keep nearlib
and near-shell
dependencies up to date to avoid issues.