-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
Describe the bug
Documentation is not accurate on :
https://alfresco-content-app.netlify.app/#/tutorials/how-to-create-your-first-extension
used the prerequisites :
ACA version 5.3.0,
ACS 23.4,
NodeJs version 18.20.3
what i found :
Folder not found in the assertion :
In addition, edit the src/assets/app.extensions.json file on the $references array. Below how it should look like.
"$references": ["my-extension.json"],
instead, i found it on : projects/aca-content/assets
is that the good file?
Also in the assertion below :
Let's instruct the configuration file for the extension to be visible from the ACA app through a public URL. To complete the task, edit the angular.json file as described below.
// Add to 'src/app.config.json' array.
...
{
"glob": "my-extension.json",
"input": "projects/my-extension/assets",
"output": "./assets/plugins"
},
...
I could not find the angular.json file ==> i foundit in the project.json file in the root folder
and the comment : // Add to 'src/app.config.json' array. is not clear on the docs, did you mean :
update the project.json file and add the object :
{
"glob": "my-extension.json",
"input": "projects/my-extension/assets",
"output": "./assets/plugins"
},
under :
{
"glob": "app.config.json",
"input": "app/src",
"output": "/"
},
Also : "npm install my-extension" gets the my-extension for npm registry which is causing dependency issue as the alfresco-content-services package there is outdated.
Metadata
Metadata
Assignees
Labels
No labels