Skip to content

Commit

Permalink
fix: use bcf-components package from npm instead of local dir
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed May 5, 2022
1 parent bb6a1e6 commit b1336d0
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 19 deletions.
60 changes: 43 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:e2e": "start-server-and-test 'npm run dev -- --port 3030' 3030 'cypress open'"
},
"dependencies": {
"@bimdata/bcf-components": "file:../bcf-components",
"@bimdata/bcf-components": "1.0.4",
"@bimdata/design-system": "1.4.0-rc.11",
"@bimdata/typescript-fetch-api-client": "8.2.0",
"@bimdata/viewer": "^1.9.0-rc.94",
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const app = createApp(App)
.use(i18n)
.use(router)
.use(BIMDataDesignSystem())
.use(BIMDataBcfComponents({ apiClient, i18n }));
.use(BIMDataBcfComponents({ apiClient, i18nPlugin: i18n }));

// Register global components
for (const [name, component] of Object.entries(globalComponents)) {
Expand Down

0 comments on commit b1336d0

Please sign in to comment.