Add turbolinks to improve perceived navigation speed and experience
This commit is contained in:
@@ -5,3 +5,9 @@ docker build -t bloodpressure .
|
||||
# Run locally
|
||||
|
||||
docker run -p 5000:5000 -e DATABASE_URL=postgresql://postgres:59fff56880e1bbb42e753d2a82ac21b6@peterstockings.com:15389/bloodpressure_db bloodpressure
|
||||
|
||||
# Fix deployment issues
|
||||
|
||||
dokku ps:rebuild bloodpressure
|
||||
dokku proxy:build-config bloodpressure
|
||||
dokku ports:clear bloodpressure
|
||||
|
||||
10
app/static/js/turbolinks.min.js
vendored
Normal file
10
app/static/js/turbolinks.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -7,6 +7,7 @@
|
||||
<title>{% block title %}BP Tracker{% endblock %}</title>
|
||||
<link href="/static/css/tailwind.css" rel="stylesheet">
|
||||
<script src="/static/js/alpine.min.js" defer></script>
|
||||
<script src="/static/js/turbolinks.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-100 text-gray-800">
|
||||
|
||||
Reference in New Issue
Block a user