phoenix_generator:为 Phoenix 应用程序生成样板

时间:2021-06-13 17:25:08
【文件属性】:
文件名称:phoenix_generator:为 Phoenix 应用程序生成样板
文件大小:18KB
文件格式:ZIP
更新时间:2021-06-13 17:25:08
Elixir 已弃用:这些生成器的功能现在大部分内置在 Phoneix 中,其余的已经有一段时间没有更新了! #Phoenix Generator 一组用于的样板生成器。 ##设置 启动 Phoenix 项目: : 将 Phoenix Generator 以及可选的和到项目的依赖项中 defp deps do [{ :postgrex , " >= 0.0.0 " }, { :ecto , github: " elixir-lang/ecto " }, { :phoenix_generator , github: " etufe/phoenix_generator " }] end 您还应该更新您的应用程序列表以包含 postgrex 和 ecto: def application do [ applications: [ :postgrex , :ecto ]]
【文件预览】:
phoenix_generator-master
----mix.exs(712B)
----lib()
--------mix_tasks_phoenix_gen_scaffold.ex(828B)
--------mix_tasks_phoenix_gen_ectomodel.ex(3KB)
--------mix_tasks_phoenix_gen_channel.ex(1KB)
--------mix_tasks_phoenix_gen_template.ex(1KB)
--------mix_tasks_phoenix_gen_instachat.ex(8KB)
--------mix_tasks_phoenix_gen_view.ex(949B)
--------mix_tasks_phoenix_gen_jumpstart.ex(2KB)
--------phoenix_gen_utils.ex(761B)
--------mix_tasks_phoenix_gen_controller.ex(5KB)
----config()
--------config.exs(1KB)
----LICENSE(1KB)
----test()
--------phoenix_generator_test.exs(107B)
--------test_helper.exs(15B)
----README.md(4KB)
----mix.lock(117B)
----templates()
--------_list_crud.html.eex(1KB)
--------new_crud.html.eex(130B)
--------show_crud.html.eex(190B)
--------_form_crud.html.eex(1KB)
--------index_crud.html.eex(212B)
--------edit_crud.html.eex(129B)
----.gitignore(49B)

网友评论