NhuTruong
NhuTruong

Reputation: 11

Client-Side library not found @types/forge-apis and @types/forge-viewer on Visual Studio

Currently, I'm using VS 2019, install package @types/forge-apis, and @types/forge-viewer on Add Client-Side Library but not found (as pictured below). please help me. enter image description here

Upvotes: 1

Views: 60

Answers (1)

Petr Broz
Petr Broz

Reputation: 9942

Both packages are available on unpkg directly:

However, these packages only include TypeScript interfaces, so they are not really "Client-Side Library".

If you are trying to start a new TypeScript project using Autodesk Forge, you will have to install forge-apis, @types/forge-apis, and @types/forge-viewer as server-side dependencies.

Upvotes: 1

Related Questions