Subfolder configuration
Step 1: Update HTML Base Tag
In the index.html file, which is located under the
wwwroot
folder of your Angular project, find the<base>
tag.Modify the
href
attribute to match your subfolder path. For example, if your subfolder is namedTest
, update the tag like this:
<base href="/Test/">

<base>
tag is updated to reference the subfolder named 'Test' for proper path handling when running Generate from a subdirectory.Save the changes.
Step 2: Create a Subfolder
Navigate to the web folder where Generate is installed, usually located in the root of your website.
Create a new subfolder, for example,
Test
, under the main site directory.
Step 3: Update IIS Settings
Open IIS Manager on your server.
Expand the left-hand tree and locate the website where Generate is hosted.
Select the newly created subfolder (e.g.,
Test
), right-click, and choose Convert to Application.Follow the prompts to complete the conversion. Ensure that the subfolder has the appropriate permissions and points to the correct application pool.
Last updated
Was this helpful?