You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
I have created a new project with au new with the following selections:
√ Would you like to use the default setup or customize your choices? » Custom Project
√ App or Plugin? » App
√ Which bundler would you like to use? » CLI's built-in bundler with an AMD module loader
√ Which AMD module loader would you like to use? » RequireJS
√ What platform are you targeting? » Web
√ What transpiler would you like to use? » TypeScript
√ How would you like to setup your HTML template? » None
√ What css preprocessor would you like to use? » Less
√ Do you want to add PostCSS processing » None
√ Which unit test runner would you like to use? » None
√ Would you like to configure e2e integration testing? » None
√ What is your default code editor? » Visual Studio Code
√ Which features do you want to scaffold into your project? » Navigation App
√ Would you like to add a Dockerfile? » No
Then moved the files around to replicate the structure of the (bigger) project where I first encountered the problem into this structure:
The moduleIds have to be relative to the layout to work.
Expected/desired behavior:
What is the expected behavior?
I'd expect the path to the layout to be relative to the html file it's contained in, not to the main.ts file or src folder.
I'm submitting a bug report
1.7.1
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
16.16.0
8.11.0
RequireJS
Browser:
Firefox 109, Edge 109
Language:
TypeScript 4.9.5
Current behavior:
I have created a new project with au new with the following selections:
Then moved the files around to replicate the structure of the (bigger) project where I first encountered the problem into this structure:
app.ts:
app.html:
Here layout-view-model only seems to work, when the path is relative to src folder.
child-router/index.ts:
The moduleIds have to be relative to the layout to work.
Expected/desired behavior:
I'd expect the path to the layout to be relative to the html file it's contained in, not to the main.ts file or src folder.
app.html:
And I'd expect the paths of the routes in the child-router to be relative to the child-router, not to the layout.
Intuitive paths.
The text was updated successfully, but these errors were encountered: