haml and markdown template engines added
This commit is contained in:
parent
f465b2270e
commit
2fb13d873e
16 changed files with 677 additions and 174 deletions
17
docs/project structure.lmay
Normal file
17
docs/project structure.lmay
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# lmay = yaml.
|
||||
# in vs code, Open Settings (JSON):
|
||||
#
|
||||
# "files.associations":
|
||||
# {
|
||||
# "*.lmay":"yaml"
|
||||
# },
|
||||
# or feel free to rename it ^_^
|
||||
folders:
|
||||
lib:
|
||||
description: all sources
|
||||
|
||||
files:
|
||||
lib/lp_web/:
|
||||
router.ex:
|
||||
notes:
|
||||
|
||||
2
docs/skills/elixir
Normal file
2
docs/skills/elixir
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
mix.exs -> put deps here
|
||||
func (a)+b -> func((a)+b) ;brackets are added implicitly
|
||||
10
docs/skills/phoenix.lmay
Normal file
10
docs/skills/phoenix.lmay
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
version: 1.5.5
|
||||
|
||||
facts:
|
||||
- you need controller, in order to serve route
|
||||
- you also need view
|
||||
- if you want html - must rename it to html.eex and add controller+view
|
||||
- minimal /lib/templates/layout/root is "<%= @inner_content %>"
|
||||
- you get one generated for you, when running "mix phx.gen.live "
|
||||
- live uses websockets
|
||||
|
||||
Reference in a new issue