Skip to content

Commit

Permalink
pkp/pkp-lib#9527 Update vite dependency to address css stylesheet ord…
Browse files Browse the repository at this point in the history
…er issue
  • Loading branch information
jardakotesovec committed Jan 29, 2024
1 parent 949724d commit 1c64dee
Show file tree
Hide file tree
Showing 4 changed files with 628 additions and 402 deletions.
9 changes: 5 additions & 4 deletions js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
* @brief Compiler entry point for building the JavaScript package. File imports
* using the `@` symbol are aliased to `lib/ui-library/src`.
*/

// styles
import '@/styles/_global.less';

import PkpLoad from '../lib/pkp/js/load.js';

// Import controllers used by OMP
Expand All @@ -34,9 +38,6 @@ import FailedJobsPage from '@/components/Container/FailedJobsPage.vue';
import FailedJobDetailsPage from '@/components/Container/FailedJobDetailsPage.vue';
import ManageCatalogPage from '@/components/Container/ManageCatalogPage.vue';

// styles
import '@/styles/_global.less';

// Expose Vue, the registry and controllers in a global var
window.pkp = Object.assign(PkpLoad, window.pkp || {}, {
controllers: {
Expand All @@ -61,6 +62,6 @@ window.pkp = Object.assign(PkpLoad, window.pkp || {}, {
StatsContextPage,
StatsUsersPage,
SubmissionWizardPage,
WorkflowPage
WorkflowPage,
},
});
Loading

0 comments on commit 1c64dee

Please sign in to comment.