Skip to content

Instantly share code, notes, and snippets.

phoenix_tutorial tree web/
web/
├── channels
├── controllers
│   └── page_controller.ex
├── i18n.ex
├── models
│   ├── jobs.ex
│   ├── queries.ex
│   └── repo.ex
@jason
jason / gist:f2e0aa0fe55ceb96bcdf
Created July 12, 2015 18:08
Unchecked dependency
Unchecked dependencies for environment dev:
* postgrex (Hex package)
the dependency postgrex defined
> In mix.exs:
{:postgrex, ">= 0.0.0", [hex: :postgrex]}
does not match the requirement specified
> In deps/ecto/mix.exs:
@jason
jason / plan.vue
Last active November 23, 2016 18:03
<template>
<div>
<span class="Plan__name">{{ plan.name }}</span>
<span class=Plan__price>{{ plan.price}}/month</span>
</div>
</template>
<script>
export default {
name: 'plan',
props: ['plan']
<template>
<div>
<span class="Plan__name">{{ plan.name }}</span>
<span class=Plan__price>{{ plan.price}}/month</span>
<button @click=setActivePlan>Upgrade</button>
</div>
</template>
<script>
export default {
name: 'plan',