-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui): Remove direct catalog usage
Currently, we're using the catalog at runtime by: ``` import catalogIndex from '@kaoto-next/camel-catalog/index.json?url'; ``` While it works, the problem with this approach is that we're tying the @kaoto-next/camel-catalog dependency at runtime. The change is to leverage the vite build step in which the catalog is copied to the `assets` folder. ``` fetch(`.${DEFAULT_CATALOG_PATH}/index.json`) ``` Relates to: #131
- Loading branch information
Showing
2 changed files
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters