gotrino-tutorial

module
v0.0.0-...-f865034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: Apache-2.0

README

gotrino-tutorial

Package gotrino-tutorial contains a wasm frontend application which show the usage and best practices of gotrino.

Usage

Either visit http://gotrino.golangee.org/ to see it live or compile and run it on your own. Ensure that you have the latest gotrino-make installed.

# checkout
mkdir -p ~/tmp/gotrino-tutorial
cd ~/tmp/gotrino-tutorial
git clone https://github.com/golangee/gotrino-tutorial .

# re-generate the tutorial assets
go generate ./...

# run it with hot reloading
gotrino-make serve

Directories

Path Synopsis
cmd
gen command
wasm command
forms
internal
app
build
Package build contains linker flags forwarded by the Makefile.
Package build contains linker flags forwarded by the Makefile.
tutorial/01-chapter-setup/01-section-setup/02-helloworld
Package t01helloworld shows the obligatory 'hello world' example, by performing just do some client side html rendering, there is no need to create a component at all.
Package t01helloworld shows the obligatory 'hello world' example, by performing just do some client side html rendering, there is no need to create a component at all.
tutorial/02-chapter-essentials/01-section-hello/01-hellohtml
Package t02hellohtml shows a more complex example which just replicates a Tailwind CSS frontpage demo.
Package t02hellohtml shows a more complex example which just replicates a Tailwind CSS frontpage demo.
tutorial/02-chapter-essentials/01-section-hello/03-helloparam
Package t03helloparam shows how to create a custom hello world component, instead of just using a function as shown in package t01helloworld.
Package t03helloparam shows how to create a custom hello world component, instead of just using a function as shown in package t01helloworld.
tutorial/02-chapter-essentials/02-section-component/04-helloproperty
Package t04helloproperty demonstrates the usage of a property and the automatic re-rendering.
Package t04helloproperty demonstrates the usage of a property and the automatic re-rendering.
Package nestor provides a markdown tutorial engine, which provides a simple semantic data model.
Package nestor provides a markdown tutorial engine, which provides a simple semantic data model.
static
assets/gen/introducingforms/essentials/htmlbasics/step1
Package t02hellohtml shows a more complex example which just replicates a Tailwind CSS frontpage demo.
Package t02hellohtml shows a more complex example which just replicates a Tailwind CSS frontpage demo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL