官术网_书友最值得收藏!

Phoenix's default application structure

As mentioned previously, Phoenix is itself a full-featured Elixir application, and as a result, tends to follow a lot of the same conventions and rules that other Elixir applications follow. We’ve briefly touched on the topic previously, but now it's time to get into it and take a look at how Phoenix projects are structured so that we can understand how to build on top of Phoenix. The starting directory structure looks a little something like the following:

├── README.md
├── assets
│ ├── brunch-config.js
│ ├── css
│ ├── js
│ ├── package.json
│ ├── static
│ └── vendor
├── config
│ ├── config.exs
│ ├── dev.exs
│ ├── prod.exs
│ ├── prod.secret.exs
│ └── test.exs
├── lib
│ ├── testapp
│ ├── testapp.ex
│ ├── testapp_web
│ └── testapp_web.ex
├── mix.exs
├── priv
│ ├── gettext
│ └── repo
└── test
├── support
├── test_helper.exs
└── testapp_web
主站蜘蛛池模板: 金门县| 拜城县| 亚东县| 连南| 克什克腾旗| 深圳市| 德庆县| 合江县| 勐海县| 上林县| 上饶市| 绥中县| 湖口县| 明水县| 宜良县| 莱州市| 福鼎市| 平安县| 浦北县| 图木舒克市| 恩平市| 陈巴尔虎旗| 庆阳市| 怀远县| 府谷县| 肇源县| 临沂市| 河源市| 福贡县| 西和县| 融水| 遵义县| 岢岚县| 锡林浩特市| 庄河市| 繁昌县| 辛集市| 临城县| 清水河县| 建阳市| 沛县|