mirror of
https://github.com/gregor-tokarev/cubicdone.git
synced 2026-09-14 11:06:21 +05:00
update
This commit is contained in:
parent
95cad7fd4c
commit
e65df9e28d
750
package-lock.json
generated
750
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@linear/sdk": "^9.0.1",
|
||||
"@morev/vue-transitions": "^2.3.6",
|
||||
"@vercel/analytics": "^1.1.2",
|
||||
"@vercel/speed-insights": "^1.0.8",
|
||||
"@vuelidate/core": "^2.0.3",
|
||||
@ -46,7 +45,6 @@
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "5.0.12",
|
||||
"vite-plugin-dynamic-import": "^1.5.0",
|
||||
"vite-plugin-static-copy": "^1.0.1",
|
||||
"vite-svg-loader": "^5.1.0",
|
||||
"vue-tsc": "^1.8.5"
|
||||
},
|
||||
|
||||
@ -1,18 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { defineAsyncComponent } from "vue";
|
||||
|
||||
const allIcons = import.meta.url;
|
||||
console.log(allIcons);
|
||||
|
||||
const props = defineProps<{ name: string }>();
|
||||
|
||||
const icon = defineAsyncComponent(
|
||||
() =>
|
||||
import(
|
||||
/* @vite-ignore */
|
||||
import.meta.env.DEV
|
||||
? `/src/assets/svg/${props.name}.svg`
|
||||
: `/assets/svg${props.name}.svg`
|
||||
`/src/assets/svg/${props.name}.svg`
|
||||
),
|
||||
);
|
||||
</script>
|
||||
|
||||
@ -102,7 +102,7 @@ const { signOut } = useClerk();
|
||||
}"
|
||||
>
|
||||
<img
|
||||
:src="user.imageUrl"
|
||||
src="@assets/img/gregor.png"
|
||||
:alt="user.fullName ?? undefined"
|
||||
class="!h-[34px] !w-[34px] shrink-0 overflow-hidden rounded-full"
|
||||
/>
|
||||
|
||||
@ -6,13 +6,9 @@ import * as path from "path";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
assetsInclude: path.resolve(__dirname, "./src/assets"),
|
||||
plugins: [
|
||||
vue(),
|
||||
svgLoader(),
|
||||
// viteStaticCopy({
|
||||
// targets: [{ src: "src/assets", dest: "assets" }],
|
||||
// }),
|
||||
VitePWA({
|
||||
registerType: "autoUpdate",
|
||||
injectRegister: "auto",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user