无效路由:由于与之前注册的路由冲突导致插入失败:/_trunk/ws

问题描述 投票:0回答:0

你好我在尝试执行trunk serve时遇到这个错误

Invalid route: insertion failed due to conflict with previously registered route: /_trunk/ws.

my trunk.toml 文件有以下内容:

[build]
target = "index.html"
release = true
public_url = "/"
dist = "dist"

[[proxy]]
backend = "http://localhost:8000/"

[[hooks]]
stage = "build"
command = "sh"
command_arguments = ["-c", "./tailwindcss -i src/tailwind.css -o $TRUNK_STAGING_DIR/tailwind.css"]
webassembly trunk rust-wasm yew
© www.soinside.com 2019 - 2024. All rights reserved.