Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonliao/topview-init
:rocket: TopView projects boilerplate generator.
https://github.com/jasonliao/topview-init
Last synced: about 2 months ago
JSON representation
:rocket: TopView projects boilerplate generator.
- Host: GitHub
- URL: https://github.com/jasonliao/topview-init
- Owner: jasonliao
- Created: 2016-04-02T07:13:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-10T06:26:32.000Z (almost 9 years ago)
- Last Synced: 2024-04-26T02:21:16.509Z (9 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 6
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# topview-init
TopView project**s** boilerplate generator.
## Install
```bash
$ npm install topview-init -g
```## Setup
```bash
$ mkdir porject-name && cd project-name
$ topview-init
```If you notice **All set! projects are awesome, have fun! :)**, that means our project's structure is already generated, cheers!
## Usage
We almost there...
```bash
$ npm install && npm run dev
```Hit ~~localhost:8080~~ [localhost:3000](http://localhost:3000) and create our awesome project right now!
Every time you save the files in the `src` folder will reload the browser, so you don't need to press F5 repeatedly.
## Build
```bash
$ npm run build
```with this command, we will
1. Bundle all modules into a `bundle.js` and all stylesheets into a `bundle.css` in `dist` folder with webpack.
2. Uglity `.js`, minify and `.html` into `build` folder with gulp.## Attention
This boilerplate is never used in large applications or projects, so it probably has lots of problems. but that's ok, I believe you guys will constantly improve it.
## Bugs & Issues
Fix by yourself
## License
MIT