generator-future-static

脚手架生成工具

Usage no npm install needed!

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

README

generator-future-static

脚手架生成工具

脚手架项目构建步骤:

  • npm install yo -g
  • npm install generator-future-static -g
  • git新建项目,例如**-sattic,clone到本地
  • cd到上面项目的目录下 执行 yo future-static 会出现以下三种脚手架项目以供选择:

从文件名也可以简单明了的看出来各个脚手架的用途:

   1. react+redux项目适用
                
   2. 前端组编写组件使用
      
   3. typescript
   
   4. react ssr服务端渲染

有关yo可以参考文档:http://www.kittywei.com/the-first-yeoman/