1.3.0 • Published 5 years ago
dahlia-scripts v1.3.0
Dahlia Rename to pea.js
More about for pea.js
An opinionated React Framework for building modern web applications.
Quick Start
npx create-dahlia-app myapp
cd myapp
npm start
It will create a directory called myapp inside the current folder:
.
├── package.json
├── src
│ └── pages
│ └── index.tsx
└── tsconfig.json
Other choices
npx
npx create-dahlia-app myapp
npm
npm init dahlia-app myapp
yarn
yarn create dahlia-app myapp
globally
npm i -g create-dahlia-app
create-dahlia-app myapp
Scripts
npm run start
- 启动开发服务器npm run build
- 生产环境打包npm run test
- 启动单元测试