From da0775efe289004fbe1db09edab6151062986cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 2 Oct 2018 03:02:17 +0200 Subject: [PATCH] Empty index.html with socket --- client/pug/index.pug | 10 ++++++++++ client/scripts/index/10-init-framework.coffee | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 client/pug/index.pug create mode 100644 client/scripts/index/10-init-framework.coffee diff --git a/client/pug/index.pug b/client/pug/index.pug new file mode 100644 index 0000000..e85923a --- /dev/null +++ b/client/pug/index.pug @@ -0,0 +1,10 @@ +doctype html +html + head + title Crafty Things + link(rel='stylesheet', href='style.css') + script(src='/socket.io/socket.io.js') + script(src='lib.min.js') + script(src='index.min.js') + body + h1 Hello World! diff --git a/client/scripts/index/10-init-framework.coffee b/client/scripts/index/10-init-framework.coffee new file mode 100644 index 0000000..8cf6d2d --- /dev/null +++ b/client/scripts/index/10-init-framework.coffee @@ -0,0 +1,2 @@ +# init Socket.IO +socket = io()