Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.59 KB

readme.md

File metadata and controls

29 lines (20 loc) · 1.59 KB

Spike - Roots Template

tests dependencies

An alternate template for spike that uses jade (now pug), stylus, and coffeescript, like the default stack in roots.

Installation

With Spike

If the spike new default template for use within spike isnt your preference and you would rather use the roots template within spike use spike-tpl-roots. Presuming you already have spike installed globally npm i spike -g you will just need to run the following:

  • spike tpl add roots https://github.com/static-dev/spike-tpl-roots.git
  • cd <projectpath>
  • spike new <projectname> -t roots
  • cd <projectname>
  • spike watch

Standalone Using Sprout

Spike uses sprout internally to generate it's project templates. This means you can even use this template without spike by using sprout directly.

  • npm i sprout-cli -g
  • sprout add spike-tpl-roots https://github.com/static-dev/spike-tpl-roots.git
  • cd <projectpath>
  • sprout new spike-tpl-roots <projectname>
  • cd <projectname>
  • npm install
  • spike watch