File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,22 @@ In your terminal, execute the following command:
143143This command installs the dependencies listed in [.path]_package.json_ into the [.path]_node_modules/_ folder inside the project.
144144This folder does not get included in the UI bundle and should _not_ be committed to the source control repository.
145145
146+ In order for the pro Font Awesome icons work, you must first add the following file to the root folder of the UI project:
147+
148+ ..npmrc
149+ ----
150+ @fortawesome:registry=https://npm.fontawesome.com/
151+ //npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN}
152+ ----
153+
154+ Then pass the token to npm when running the `npm install` command:
155+
156+ FONTAWESOME_NPM_AUTH_TOKEN=xxxx npm install
157+
158+ If you don't supply this token when installing packages, the pro icons will not be installed, but the UI preview will still work.
159+ Any icon available in the free collection will still be found, but the pro icons will be missing.
160+ When an icon is missing, a missing icon is shown instead.
161+
146162=== Preview the UI
147163
148164The UI project is configured to preview offline.
You can’t perform that action at this time.
0 commit comments