Skip to content

Commit c40117c

Browse files
committed
fix linting
1 parent 70e68d6 commit c40117c

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

examples/vue-composition-api/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ onMounted(async () => {
1717
baseUrl: `${window.location.protocol}//${window.location.host}/${import.meta.env.PUBLIC_URL ?? ""}`,
1818
});
1919
}
20-
})
20+
});
2121
2222
onUnmounted(() => {
2323
const container = containerRef.value;
2424
2525
if (container && PSPDFKit) {
2626
PSPDFKit.unload(container);
2727
}
28-
})
28+
});
2929
</script>
3030

3131
<template>

examples/vue-composition-api/src/assets/base.css

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,10 @@ body {
6262
min-height: 100vh;
6363
color: var(--color-text);
6464
background: var(--color-background);
65-
transition:
66-
color 0.5s,
67-
background-color 0.5s;
65+
transition: color 0.5s, background-color 0.5s;
6866
line-height: 1.6;
69-
font-family:
70-
Inter,
71-
-apple-system,
72-
BlinkMacSystemFont,
73-
'Segoe UI',
74-
Roboto,
75-
Oxygen,
76-
Ubuntu,
77-
Cantarell,
78-
'Fira Sans',
79-
'Droid Sans',
80-
'Helvetica Neue',
67+
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
68+
Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
8169
sans-serif;
8270
font-size: 15px;
8371
text-rendering: optimizeLegibility;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import './assets/main.css'
1+
import "./assets/main.css";
22

3-
import { createApp } from 'vue'
4-
import App from './App.vue'
3+
import { createApp } from "vue";
4+
import App from "./App.vue";
55

6-
createApp(App).mount('#app')
6+
createApp(App).mount("#app");

examples/vue-composition-api/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { fileURLToPath, URL } from "node:url";
1+
import { URL, fileURLToPath } from "node:url";
22

3-
import { defineConfig } from "vite";
43
import vue from "@vitejs/plugin-vue";
5-
import vueDevTools from "vite-plugin-vue-devtools";
64
import copy from "rollup-plugin-copy";
5+
import { defineConfig } from "vite";
6+
import vueDevTools from "vite-plugin-vue-devtools";
77

88
// https://vite.dev/config/
99
export default defineConfig({

0 commit comments

Comments
 (0)