-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
42 lines (37 loc) · 1.23 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
<!--
index.html
This page is used to run the CollectionSpace UI with the BAMPFA profile plugin, using a local
development server.
Use the command: npm run devserver
Then open a browser to: http://localhost:8080
-->
<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/@ucb-cspace/cspace-ui/dist/cspaceUI.js"></script>
<!--
Load the BAMPFA profile plugin. This places the cspaceUIPluginProfileBAMPFA 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 /cspaceUIPluginProfileBAMPFA.js, but it does not exist in
the filesystem.
-->
<script src="/webpack-dev-assets/cspaceUIPluginProfileBAMPFA.js"></script>
</head>
<body>
<div id="cspace"></div>
<script>
cspaceUI({
serverUrl: 'http://localhost:8180',
plugins: [
cspaceUIPluginProfileBAMPFA(),
],
});
</script>
</body>
</html>