pracjs

1.15.3 • Public • Published

PracJS

A Simple but Powerful Web UI Framework & Toolkit

Quick Start

  • Create project
mkdir YOUR-PROJECT
cd YOUR-PROJECT
npm init
  • Install prac
npm install pracjs --save-dev
sudo npm install pracjs -g
  • Intialize prac project
# responsive web
prac init
# or mobile
prac init -m

# install dev dependencies
npm install
  • Start a web server
prac run -p 8080
  • Access
http://localhost:8080

Deploy your project

  • Install Grunt
sudo npm install grunt -g
  • Build
grunt build
  • Config NGINX
server {
    listen       80;
    server_name  YOUR_DOMAIN;
    root         /YOUR_PROJECT;

    location / {
        try_files $uri $uri/ /index.html;
    }

    ...
}

Docs

License

MIT

Package Sidebar

Install

npm i pracjs

Weekly Downloads

36

Version

1.15.3

License

MIT

Unpacked Size

7.92 MB

Total Files

3156

Last publish

Collaborators

  • mars-martin