如何在 flutter web 上禁用 SPA
How to disable SPA on flutter web
我在 flutter ver2 上使用 flutter web,想知道如何禁用单页应用程序风格的开发,因为我想 google 索引所有使用 flutter web 生成的页面。
谢谢!
我认为目前不可能。
在构建网络后尝试查看 build/web
。您只会看到一个名为 index.html
的 HTML 文件。没有文字页面。
我自己用命名根解决了。很简单。
我在 flutter ver2 上使用 flutter web,想知道如何禁用单页应用程序风格的开发,因为我想 google 索引所有使用 flutter web 生成的页面。
谢谢!
我认为目前不可能。
在构建网络后尝试查看 build/web
。您只会看到一个名为 index.html
的 HTML 文件。没有文字页面。
我自己用命名根解决了。很简单。