Empty index.html with socket
This commit is contained in:
parent
c0ad010daa
commit
da0775efe2
2 changed files with 12 additions and 0 deletions
10
client/pug/index.pug
Normal file
10
client/pug/index.pug
Normal file
|
@ -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!
|
2
client/scripts/index/10-init-framework.coffee
Normal file
2
client/scripts/index/10-init-framework.coffee
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# init Socket.IO
|
||||||
|
socket = io()
|
Reference in a new issue