Real-Time 3D Graphics with WebGL 2
上QQ阅读APP看书,第一时间看更新

Setting up a Web Server

Now that we're fetching assets from a server, we need to serve our application by using a server. If you do not have a web server, we recommend that you install a lightweight web server from the following options:

Hosting Examples

Although any web server will be able to serve these examples, serve provides simplicity and great functionality. That being said, be sure to run your server from the root of the examples directory, since the common directory is a shared dependency across chapters.