Sfoglia il codice sorgente

fix(create): Fix dev mode path to static dashboard files

Michael Bromley 2 mesi fa
parent
commit
d0a3206eca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/create/templates/vendure-config.hbs

+ 1 - 1
packages/create/templates/vendure-config.hbs

@@ -101,7 +101,7 @@ export const config: VendureConfig = {
         DashboardPlugin.init({
         DashboardPlugin.init({
             route: 'dashboard',
             route: 'dashboard',
             appDir: IS_DEV
             appDir: IS_DEV
-                ? path.join(__dirname, 'dist/dashboard')
+                ? path.join(__dirname, '../dist/dashboard')
                 : path.join(__dirname, 'dashboard'),
                 : path.join(__dirname, 'dashboard'),
         }),
         }),
     ],
     ],