https://github.com/cnuggets/prac
PracJS - A UI Framework & Toolkit
https://github.com/cnuggets/prac
anti-involution bootstrap component-library css3 extensible jquery jquery-plugin mobile-web requirejs responsive underscore
Last synced: 8 months ago
JSON representation
PracJS - A UI Framework & Toolkit
- Host: GitHub
- URL: https://github.com/cnuggets/prac
- Owner: cnuggets
- License: mit
- Created: 2022-01-29T11:14:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T05:24:08.000Z (11 months ago)
- Last Synced: 2025-04-13T15:16:08.317Z (8 months ago)
- Topics: anti-involution, bootstrap, component-library, css3, extensible, jquery, jquery-plugin, mobile-web, requirejs, responsive, underscore
- Language: JavaScript
- Homepage:
- Size: 3.21 MB
- Stars: 5
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- [Documentation](https://pracjs.com)
- layout, css, form, basic component fully use Bootstrap 5, so for this basic usage please refer to [Bootstrap 5](https://getbootstrap.com/docs/5.1/getting-started/introduction/).
- icon please refer to [Bootstrap icon](https://icons.getbootstrap.com/)
## License
[MIT](https://github.com/cnuggets/prac/blob/main/LICENSE)