File tree Expand file tree Collapse file tree 2 files changed +13
-26
lines changed
app/pages/translate/outlines Expand file tree Collapse file tree 2 files changed +13
-26
lines changed Original file line number Diff line number Diff line change 77 />
88
99 <UPageBody >
10- <UFileUpload
11- v-model =" jwpubFile"
12- :file-delete =" false"
13- accept =" .jwpub,.JWPUB"
14- class =" w-full min-h-48"
15- :disabled =" !!jwpubFile"
16- label =" Importeer vanuit S-34 formulier."
17- @change =" importOutlines"
18- />
10+ <DevOnly >
11+ <UFileUpload
12+ v-model =" jwpubFile"
13+ :file-delete =" false"
14+ accept =" .jwpub,.JWPUB"
15+ class =" w-full min-h-48"
16+ :disabled =" !!jwpubFile"
17+ label =" Importeer vanuit S-34 formulier."
18+ @change =" importOutlines"
19+ />
20+ </DevOnly >
1921 <template v-if =" loading " >
2022 <UPageGrid >
2123 <div v-for =" i in 12" :key =" i" class =" grid gap-2" >
Original file line number Diff line number Diff line change 1- // import { join } from "node:path";
2- // import { normalizePath } from "vite";
3- // import { viteStaticCopy } from "vite-plugin-static-copy";
1+ const isDev = process . env . NODE_ENV === "development" ;
42
53/* eslint-disable perfectionist/sort-objects */
64// https://nuxt.com/docs/api/configuration/nuxt-config
@@ -16,25 +14,12 @@ export default defineNuxtConfig({
1614 ] ,
1715 css : [ "~/assets/css/main.css" ] ,
1816 runtimeConfig : {
17+ public : { isDev } ,
1918 jwpubKey : process . env . JWPUB_KEY ,
2019 } ,
2120 compatibilityDate : "2026-01-15" ,
2221 piniaPluginPersistedstate : {
2322 storage : "localStorage" ,
2423 debug : true ,
2524 } ,
26- vite : {
27- // plugins: [
28- // viteStaticCopy({
29- // targets: [
30- // {
31- // src: normalizePath(
32- // join(__dirname, "node_modules/sql.js/dist/sql-wasm.wasm"),
33- // ),
34- // dest: normalizePath(join(__dirname, "server/assets")),
35- // },
36- // ],
37- // }),
38- // ],
39- } ,
4025} ) ;
You can’t perform that action at this time.
0 commit comments