-
Notifications
You must be signed in to change notification settings - Fork 12k
addons property missing in angular-cli.json #4146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is intentional. See: #4052 |
My angular-cli project is using font-awesome along with Bootstrap 4. The angular-cli setup instructions include defining the fonts path inside the "addOns" property. Since angular-cli.json no longer has a "addOns" property by default should the property be added back? Should I just add the "addOns" property in my project? Or should I define the font-awesome fonts path inside a different angular-cli.json property? |
The instructions (https://github.com/angular/angular-cli#global-library-installation) reference |
Closing as @clydin has answered. |
Respectfully I think that I need a more specific answer since there are multiple properties under the "apps" property inside angular-cli.json Here is what I want to do. Have the angular-cli inject both the font-awesome.css and the font-awesome file path that is used for font-awesome icons. I have included the font-awesome.min.css with no problem using the "styles" property under the "apps" property.
Help me understand where I need to define the font-awesome fonts file path since the "adons" property no longer exists. I understand that the suggestion is to define the value under the "apps" property. Help me understand on what property under the "apps" property. Here is the old way that I was referencing the font-awesome fonts file path using the "addons" property |
The 'addons' field is simply a placeholder. It provides no functionality. |
@clydin Are you saying the reference to the font files doesn't need to be in the config file at all? @brookhutchinson is asking you about where the addons include of font files should end up in the 'apps' structure. He's not asking about the styles. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
[email protected]
Repro steps.
The "addons" property is missing from angular-cli.json
Help me understand where I need to define the font-awesome fonts file path since the "adons" property no longer exists.
The log given by the failure.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: