generator-froko-js-webappdeprecated

Yet another generator for a simple web application with Javascript

Usage no npm install needed!

<script type="module">
  import generatorFrokoJsWebapp from 'https://cdn.skypack.dev/generator-froko-js-webapp';
</script>

README

generator-froko-js-webapp NPM version Build Status Dependency Status

Yeoman generator for a simple Javascript web application

Installation

First, install Yeoman and generator-froko-js-webapp using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-froko-js-webapp

Then create a new directory, change into and generate your new web application:

mkdir my-awesome-web-app
cd my-awesome-web-app
yo froko-js-webapp

The generator will ask you the following questions:

  • Your project name text
  • Your project description text
  • Your GitHub user name text
  • Your GitHub repository text

Usage

Start the application

Run npm start and open your browser at http://localhost:3000

Build the application

Run npm run build to create a production-ready version of the web application.

All necessary files are being written into the dist folder. This is the unit of deployment which you can use with a web server of your choice, e.g. IIS or Apache.

License

MIT © Patrick Ineichen