@lcap/nasl-unified-frontend-generator 4.0.0-beta.7 → 4.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2343,8 +2343,7 @@ query: {`;
2343
2343
  let url2 = "`";
2344
2344
  const viewArr = s3.genViewArr();
2345
2345
  if (Array.isArray(viewArr) && viewArr.length) {
2346
- const prefixPath = s3.frontend?.prefixPath;
2347
- url2 += `${prefixPath}/${viewArr.join("/")}`;
2346
+ url2 += `/${viewArr.join("/")}`;
2348
2347
  const { completeArguments } = s3;
2349
2348
  if (completeArguments.length) {
2350
2349
  const node = s3.viewNode;
@@ -7648,7 +7647,8 @@ var Vue3PlatformBuilderPlugin = class {
7648
7647
  const self = {
7649
7648
  ...routesExtractionPlugin.functions
7650
7649
  };
7651
- const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, "/", {
7650
+ const basePath = ir.configs.basePlatformConfig.basePath + "/";
7651
+ const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, basePath, {
7652
7652
  lazy: false,
7653
7653
  frameworkKind: "vue3"
7654
7654
  });