Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么把flutter中的变量赋值给html页面 #158

Open
wengxianxun opened this issue Oct 27, 2022 · 0 comments
Open

怎么把flutter中的变量赋值给html页面 #158

wengxianxun opened this issue Oct 27, 2022 · 0 comments

Comments

@wengxianxun
Copy link

wengxianxun commented Oct 27, 2022

比如这个name变量,我怎么赋值给index.html展示呢。
var name = '我是一个变量';
final server = Jaguar(address: "172.16.90.24", multiThread: true);
server.addRoute(serveFlutterAssets());
await server.serve(logRequests: true);
server.log.onRecord.listen((r) => print(r));

< body> how to show name? </ body>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant