【文件属性】:
文件名称:templator:使用前端 Javascript 框架生成基本的 Web App Boiler Plate
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-02 13:03:05
Elixir
模板
目标
使用您最喜欢的 Javascript 框架生成一个基本的 Web 应用程序样板。
安装
使用 Templator 的最简单方法是将其拉到本地机器上:
git clone https://github.com/arnerjohn/templator.git
cd templator
然后,使用以下内容生成escript :
mix escript.build
这将生成一个templator二进制文件,您可以将其放置在您的路径中。 例如:
mv templator ~/bin/templator
用法
模板器目前支持 React.js。 执行以下命令将生成一个名为ReactExample的新Mix项目。
templator new react_example --react
cd react_example
mix
Listening for connections
【文件预览】:
templator-master
----mix.exs(736B)
----lib()
--------templator.ex(982B)
--------templator()
----config()
--------config.exs(1KB)
----test()
--------templator_test.exs(100B)
--------test_helper.exs(15B)
----README.md(1017B)
----mix.lock(182B)
----.gitignore(34B)