mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add Generate New App Without Brunch as a phoenix til
This commit is contained in:
16
phoenix/generate-new-app-without-brunch.md
Normal file
16
phoenix/generate-new-app-without-brunch.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Generate New App Without Brunch
|
||||
|
||||
By default when you create a new Phoenix app using `phx.new`, a set of files
|
||||
and configurations will be generated for [Brunch](http://brunch.io/). Though
|
||||
the Phoenix team decided to use Brunch, you don't have to. You may not want
|
||||
Phoenix to handle asset building or you may just prefer another tool. Either
|
||||
way, if you'd like to opt out, you can include the `--no-brunch` flag when
|
||||
generating the project.
|
||||
|
||||
```bash
|
||||
$ mix phx.new --no-brunch my_app
|
||||
```
|
||||
|
||||
If you have an existing project that you'd like to remove Brunch from, there
|
||||
is some information in [Phoenix's Static Assets
|
||||
documentation](http://phoenixframework.org/blog/static-assets).
|
||||
Reference in New Issue
Block a user