@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.mjs CHANGED
@@ -2383,8 +2383,7 @@ query: {`;
2383
2383
  let url2 = "`";
2384
2384
  const viewArr = s3.genViewArr();
2385
2385
  if (Array.isArray(viewArr) && viewArr.length) {
2386
- const prefixPath = s3.frontend?.prefixPath;
2387
- url2 += `${prefixPath}/${viewArr.join("/")}`;
2386
+ url2 += `/${viewArr.join("/")}`;
2388
2387
  const { completeArguments } = s3;
2389
2388
  if (completeArguments.length) {
2390
2389
  const node = s3.viewNode;
@@ -7688,7 +7687,8 @@ var Vue3PlatformBuilderPlugin = class {
7688
7687
  const self = {
7689
7688
  ...routesExtractionPlugin.functions
7690
7689
  };
7691
- const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, "/", {
7690
+ const basePath = ir.configs.basePlatformConfig.basePath + "/";
7691
+ const { authResourcePaths, baseResourcePaths } = self.extractRoute(ir.views, basePath, {
7692
7692
  lazy: false,
7693
7693
  frameworkKind: "vue3"
7694
7694
  });