Explorar el Código

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

Michael Bromley hace 2 meses
padre
commit
d0a3206eca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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({
             route: 'dashboard',
             appDir: IS_DEV
-                ? path.join(__dirname, 'dist/dashboard')
+                ? path.join(__dirname, '../dist/dashboard')
                 : path.join(__dirname, 'dashboard'),
         }),
     ],