A node package for creating a simple web application template. This is particularly useful if you to don't want to include third parties libraries and frameworks. Thus, keeping your source code lightweight. It installs and sets up webpack for you.
As long as you have basic knowledge of html, css (scss), and javascript, you're good to go! Also, you need to have Node and npm (or yarn) installed on your machine.
- Install the package globally by running:
$ npm i -g webapp_generator
- Navigate to your project directory or create a new one:
$ mkdir my_webapp_project
$ cd my_webapp_project
- Run the webapp_generator cli. Optionally, you can add project title.
$ webapp_generator [your-project-title]
- Verify that everything is up and running.
$ npm run dev
This should start a webpack-dev-server at localhost:8080.
To deploy your project, run:
$ npm run build
Webpack, will generate a dist/
folder containing all your compressed source files and resources. Move this folder to your preferred hosting platform.
If you would like to contribute, feel free to send us a pull request.
- Younss Ait Mou - Initial work - yaitmou
See also the list of contributors who participated in this project.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details