Initial Commit

This commit is contained in:
seedorf_s1
2020-11-13 09:09:21 +01:00
commit 5a56fc26d2
50 changed files with 5038 additions and 0 deletions

6
views/error.pug Normal file
View File

@@ -0,0 +1,6 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}

7
views/index.pug Normal file
View File

@@ -0,0 +1,7 @@
extends layout
block content
h1= title
p Welcome to #{title}! 
a(href="/logout") Want so say goodbye?
p This name is fetched on server-side: #{email}

14
views/layout.pug Normal file
View File

@@ -0,0 +1,14 @@
doctype html
html
head
title= title
link(rel='stylesheet', href='/styles/style.css')
body
block content
script(type='text/javascript', src='/js/require-2.3.6.min.js')
script(type='text/javascript', src='/js/bundle.js')
script.
require(['src/index'], function (index) {
console.log(index);
index.setConfig({EXTERNAL_BASE_URL: '#{externalUrl}'});
});