-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathmain.js
More file actions
33 lines (28 loc) · 869 Bytes
/
main.js
File metadata and controls
33 lines (28 loc) · 869 Bytes
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
import { createApp } from "vue";
import App from "./App.vue";
import { Exceptionless, ExceptionlessErrorHandler } from "@exceptionless/vue";
Exceptionless.startup((c) => {
c.useDebugLogger();
c.apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
c.serverUrl = "https://localhost:5100";
c.updateSettingsWhenIdleInterval = 15000;
c.usePersistedQueueStorage = true;
c.setUserIdentity("12345678", "Blake");
// set some default data
c.defaultData["SampleUser"] = {
id: 1,
name: "Blake",
password: "123456",
passwordResetToken: "a reset token",
myPasswordValue: "123456",
myPassword: "123456",
customValue: "Password",
value: {
Password: "123456"
}
};
c.defaultTags.push("Example", "JavaScript", "Vue");
});
const app = createApp(App);
app.config.errorHandler = ExceptionlessErrorHandler;
app.mount("#app");