Skip to content

LY1806620741/lorca-umi-demo

Repository files navigation

lorca + umi base demo project

中文说明/Chinese Documentation

version

os: win10
Umi v4.0.81
node v20.6.1
go1.21.1
chrome 117.**

nodejs always has unexpected version problem. please note.

Getting Started

Install dependencies,

$ npm install pnpm
$ pnpm install

Start the dev server, bind 8000 port.

$ pnpm dev

Start the go dev server, use shell, show localhost:8000

go run .

or vscode Shortcut key F5 when open any go file

By hand create this project

# create umi link to https://umijs.org/docs/getting-started
pnpm dlx create-umi@latest

# go init
go mod init jieshao.loract-umi-demo
go get github.com/zserge/lorca

# config go lorca ... link to
# https://github.com/zserge/lorca/tree/master/examples
# https://github.com/cnbattle/lorca-vue-demo
# https://github.com/erkkah/lorca-ts-react-starter


go mod vendor

build

# build resource
pnpm build
# build binary program
pnpm go:build

release

go install github.com/goreleaser/goreleaser/v2@latest
goreleaser release --clean --snapshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published