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

Easy start with templates and assets #124

Open
bastianccm opened this issue Feb 14, 2020 · 0 comments
Open

Easy start with templates and assets #124

bastianccm opened this issue Feb 14, 2020 · 0 comments
Milestone

Comments

@bastianccm
Copy link
Contributor

Document the minimum requirements such as:

package main

import (
	"flamingo.me/dingo"
	"flamingo.me/flamingo/v3"
	"flamingo.me/flamingo/v3/core/gotemplate"
)

func main() {
	flamingo.App([]dingo.Module{
		new(gotemplate.Module),
	})
}
- name: index
  path: /
  controller: flamingo.render(tpl="index")
- name: static
  path: /asset/*name
  controller: flamingo.static.file
@bastianccm bastianccm modified the milestone: v3.2.0 Feb 25, 2020
@bastianccm bastianccm added this to the v3.3.0 milestone Jul 15, 2020
@bastianccm bastianccm added this to To Do in Flamingo v3.3.0 Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant