Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention milligram in the guides #4570

Merged
merged 3 commits into from Oct 29, 2021

Conversation

H12
Copy link
Contributor

@H12 H12 commented Oct 29, 2021

The fact that Phoenix ships with Milligram by default is presently not mentioned anywhere in the guides:

https://github.com/phoenixframework/phoenix/search?q=milligram+path%3Aguides

This PR is meant to address this by giving Milligram a quick mention early-on in the official guides.

@@ -129,6 +129,8 @@ The `assets` directory contains source files related to front-end assets, such a

Your other static assets are placed in the `priv/static` folder, where `priv/static/assets` is kept for generated assets. Everything in `priv/static` is served by the `Plug.Static` plug configured in `lib/hello_web/endpoint.ex`. When running in dev mode (`MIX_ENV=dev`), Phoenix watches for any changes you make in the `assets` directory, and then takes care of updating your front end application in your browser as you work.

**NB:** When you first create your Phoenix app using `mix phx.new` it is possible to specify options that will affect the presence and layout of the `assets` directory. In fact, Phoenix apps can bring their own front end tools or not have a front-end at all (handy if you're writing an API for example). For more information you can run `mix help phx.new` or see the documentation in [Mix tasks](mix_tasks.html).
Note that when you first create your Phoenix app using `mix phx.new` it is possible to specify options that will affect the presence and layout of the `assets` directory. In fact, Phoenix apps can bring their own front end tools or not have a front-end at all (handy if you're writing an API for example). For more information you can run `mix help phx.new` or see the documentation in [Mix tasks](mix_tasks.html).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an extremely minor change that is outside the scope of this PR.

I added it because until reading this paragraph I had never seen the acronym "NB" before and had to google it, which slightly increased my friction when reading these docs.

@josevalim josevalim merged commit b535610 into phoenixframework:master Oct 29, 2021
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants