grunt-init-react

grunt-init template for a very basic react project.

Usage no npm install needed!

<script type="module">
  import gruntInitReact from 'https://cdn.skypack.dev/grunt-init-react';
</script>

README

grunt-init-react

grunt-init template for a very basic react project.

Getting started

Installation

If you haven't already done so, install Grunt and grunt-init:

npm install -g grunt-cli grunt-init

Once grunt-init is installed, place this template in your ~/.grunt-init/ directory. It's recommended that you use git clone to install this template into that directory as follows:

git clone https://github.com/skratchdot/grunt-init-react.git ~/.grunt-init/react

Usage

Now that grunt init is installed. At the command-line, cd into an empty directory and run grunt-init react and follow the prompts. You might want to test that it works before you begin customizing the project:

  • Next, run npm install to install the project's dependencies.
  • Then, run npm run watch to build the project and test that it works.

Note that this template will generate files in the current directory, so be sure to change to a new directory first.

Demo Site

To see an example of the site that is generated, you can visit the demo site:

License

Copyright (c) 2015 skratchdot
Licensed under the MIT license.