Using Flutter on Ubuntu (Part 2)

I tried running the program created here on a Node.js server.

Node.js server installation

sudo npm install -g http-server

Build

flutter build web

It is created as follows.

$ tree build/web -L 2
build/web
├── assets
│   ├── AssetManifest.json
│   ├── FontManifest.json
│   ├── NOTICES
│   ├── fonts
│   └── packages
├── favicon.png
├── flutter_service_worker.js
├── icons
│   ├── Icon-192.png
│   └── Icon-512.png
├── index.html
├── main.dart.js
├── manifest.json
└── version.json

Run the server on buid/web.

$ http-server
Starting up http-server, serving ./
Available on:
  http://127.0.0.1:8080
  http://192.168.1.8:8080
  http://10.64.227.1:8080
Hit CTRL-C to stop the server

Result of accessing with a browser (The characters are garbled.) flutter_node.png

Recommended Posts

Using Flutter on Ubuntu (Part 2)
Use Flutter on Ubuntu
ubuntu on wsl part 10
Using Azure IOT Hub on Ubuntu 20.10.
Install ngrok on ubuntu16.04 using Vagrant
Installing and using Ansible on Ubuntu 16.04
tmux on Ubuntu
Using JUnit from the command line on Ubuntu
Android application development using Unity + ARCore on Ubuntu
Tips for using the Spotify app on Ubuntu
Screen recording on Ubuntu 20.04
Web Bluetooth on Ubuntu20.04
[Flutter] Ubuntu 20.04 environment construction
Try DisplayLink on Ubuntu 20.04
Reinstall Kubernetes on Ubuntu 19.10
Install pyqt5 on ubuntu
Try using Talend Part 2
Using JDBC on Linux
Install Ruby on Ubuntu 20.04
Setting JAVA_HOME on Ubuntu
Install Autoware on Ubuntu 18.04.5
Put JetBrains on Ubuntu
Use mkdir on ubuntu
Try using Talend Part 1
Apache2 on Ubuntu20.04 LTS
Use cpplapack on ubuntu
Install Homebrew on Ubuntu 20.04
Run tiscamera on Ubuntu 18.04
Build Zabbix on Ubuntu 20.04
I built an Ubuntu environment on Windows 10 using WSL2.
I tried using YOLO v4 on Ubuntu and ROS
Create SSL certificate on Ubuntu 18.04
Building WebGIS on Ubuntu20.04 LTS
Install OpenJDK7 (JAVA) on ubuntu 14.04
Put Ubuntu 20.04.1 on Raspberry Pi 4
Build VNC Server on Ubuntu 20.04
Install Cybozu Office 10 on Ubuntu 20.4
Extend swap area on Ubuntu 18.04
Install Docker on Ubuntu Server 20.04
Ubuntu on Windows Community Preview
Japanese input on Ubuntu20.04 Desktop
Oracle Java 8 on Docker Ubuntu
Install zabbix agent (5.0) on Ubuntu 18.04
DB programming using EclipseLink part1
Install MAV Proxy on Ubuntu 18.04
Install Arudino IDE on Ubuntu 20
Record video on ubuntu18.04 LTS
Introduced knowledge (wiki) on Ubuntu
Installing OpenMX on Ubuntu 18.04.5 LTS
Install Java on WSL Ubuntu 18.04
Ruby installation on WSL2 + Ubuntu 20.04
Install Ubuntu Desktop 20.10 on RaspberryPi4
Run chromium-mir-kiosk on Ubuntu Core
Install Arduino IDE on Ubuntu 20.04
Ubuntu on Windows build speed
Run java applet on ubuntu
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS
Run Eclipse CDT on Ubuntu
Set up ansible-playbook on Ubuntu 20.04
Install PlantUML on Intellij on Ubuntu