vue

command
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

在前端 vite.config.ts 配置构建输出目录

build:{
  outDir:"../resources"
}
  1. node: 构建前端静态资源文件到配置好的 resources 目录
cd frontend

npm run build
  1. golang: 编译Go执行文件
go build -ldflags="-s -w" -tags="prod"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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