generator-striker

install Yeoman and generator-strikeJS globally

Usage no npm install needed!

<script type="module">
  import generatorStriker from 'https://cdn.skypack.dev/generator-striker';
</script>

README

StrikeJS Template Generator

Getting started

install Yeoman and generator-strikeJS globally

npm install yo -g
npm install generator-striker -g

How it works

To create the project template run the following

Striker


yo striker {AppName}

Where {AppName} is the name of the application

Controller

To create a controller run the following

yo striker:ctrl {CtrlName}

Where {CtrlName} is the name of the controller

Page

To create a page run the following

yo striker:page {PageName}

Where {PageName} is the name of the page

UI Component

To create a ui component run the following

yo striker:ui {UiName}

Where {UiName} is the name of the ui component

Presentation Component (Functional component)

To create a ui component run the following

yo striker:pr {PrName}

Where {PrName} is the name of the functional component