-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
47 lines (41 loc) · 1.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!--
index.html
This page is used to run the CollectionSpace UI with the OHC profile plugin,
using a local development server.
Use the command: npm run devserver
Then open a browser to: http://localhost:8080
Note that this file is not used when the --back-end option is supplied to npm run devserver,
unless the --local-index option is also supplied, and set to the path to this file.
-->
<html>
<head>
<meta charset="UTF-8">
<!--
Load the CollectionSpace UI. This places the cspaceUI function into the global namespace.
A compatible version of cspace-ui is specified as a development dependency of this package
(in package.json), so its distribution bundle will be in node_modules.
-->
<script src="/node_modules/cspace-ui/dist/cspaceUI.js"></script>
<script src="/node_modules/cspace-ui-plugin-profile-anthro/dist/cspaceUIPluginProfileAnthro.js"></script>
<!--
Load the OHC profile plugin. This places the
cspaceUIPluginProfileOHC function into the global namespace.
webpack dev server generates a JS bundle into memory, and updates it as files are edited.
This bundle is served from the URL /webpack-dev-assets/cspaceUIPluginProfileOHC.js, but it does not exist in
the filesystem.
-->
<script src="/webpack-dev-assets/cspaceUIPluginProfileOHC.js"></script>
</head>
<body>
<div id="cspace"></div>
<script>
cspaceUI({
serverUrl: 'http://localhost:8180',
plugins: [
cspaceUIPluginProfileAnthro(),
cspaceUIPluginProfileOHC(),
],
});
</script>
</body>
</html>