vue

package
v3.7.25 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Vue = &cobra.Command{
	Use:   "vue",
	Short: "前端指令",
	Long:  "前端手架命令 : toolkit vue",
	Run:   Run,
}

Vue represents the upgrade command.

Functions

func GenerateInterface

func GenerateInterface(moduleParam base.ModuleParam, fullInterfaceDir, tableName string)

func GenerateMethod

func GenerateMethod(moduleParam base.ModuleParam, apiUrl, fullMethodDir, tableName string)

func GeneratePage

func GeneratePage(moduleParam base.ModuleParam, fullPageDir, viewUrl, tableName string)

viewUrl: 页面路径

func InterfaceTemplate

func InterfaceTemplate() string

func MethodTemplate

func MethodTemplate(apiUrl string) string

func PageTemplate

func PageTemplate() string

func Run

func Run(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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