vai
Powerful toolkit for building react applications/component
Last updated a year ago by fullbook .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vai 
SYNC missed versions from official npm registry.

vai

vai is a toolkit for building web applications with React. Helps you deal with everything, and you can focus on business logic.

Setup

# 1. Create an empty folder, install vai locally.
$ npm i vai
# 2. Init project files.
$ npx vai init

# Start dev server
$ npm start

# Build
$ npm run build

# Test
$ npm test

# Preview of production environment
$ npm run preview

# See bundle size analyse
$ npm run analyse

# Bundle to one file
$ npm run bundle

# Start docs server
$ npm run docs

# Format all sources code
$ npm run format

File Structure

.
├── .temp                     # Gitignored. Temporary file folder.
├── coverage                  # Gitignored. Code coverage folder.
├── dist                      # Gitignored. Dist folder, auto generated by `npm run build`. Can be changed by `distDir` in config.
├── tests                     # Tests folder.
├── src                       # Source files folder.
│   ├── pages                 # Page files.
│   ├── layouts               # Layout files.
│   ├── components            # Component files.
│   └── utils                 # Util files.
│── vai.config.ts             # Config file.
└── ...other-files            # Auto generated by `npx vai init`.

Inspired

Q&A

Current Tags

  • 0.0.6                                ...           latest (a year ago)

6 Versions

  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 7
This Month 7
Last Day 0
Last Week 0
Last Month 1
Dependencies (105)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |