Skip to content

Commit

Permalink
Moved pf imports to main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaPatil22 committed Jul 24, 2024
1 parent 9eb9ae7 commit f799986
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/components/blog/CveTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
</template>

<script setup>
import '@patternfly/elements/pf-table/pf-table.js'
const tableData = [
{
cve: 'CVE-2024-41184',
Expand Down
4 changes: 0 additions & 4 deletions src/components/blog/SecurityHelpSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@
</template>

<script setup>
import '@patternfly/elements/pf-select/pf-select.js'
import '@patternfly/elements/pf-select/pf-option-group.js'
import '@patternfly/elements/pf-button/pf-button.js'
const latestKnowledgeData = [
{
heading: "Data Gathered and Used by Red Hat's subscription services",
Expand Down
1 change: 0 additions & 1 deletion src/components/footer/AccordionItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</template>

<script setup type="module">
import '@patternfly/elements/pf-accordion/pf-accordion.js'
import { computed } from 'vue'
import { footerLinks } from './linksData.js'
Expand Down
1 change: 0 additions & 1 deletion src/components/footer/SecurityLandingFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
</template>

<script setup>
import '@patternfly/elements/pf-icon/pf-icon.js'
import { footerLinks } from './linksData.js'
import AccordionItem from './AccordionItem.vue'
Expand Down
5 changes: 5 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import '@rhds/elements/rh-cta/rh-cta.js'
import '@rhds/elements/rh-accordion/rh-accordion.js'
import '@patternfly/elements/pf-modal/pf-modal.js'
import '@patternfly/elements/pf-card/pf-card.js'
import '@patternfly/elements/pf-table/pf-table.js'
import '@patternfly/elements/pf-select/pf-select.js'
import '@patternfly/elements/pf-select/pf-option-group.js'
import '@patternfly/elements/pf-button/pf-button.js'
import '@patternfly/elements/pf-icon/pf-icon.js'

const app = createApp(App)

Expand Down

0 comments on commit f799986

Please sign in to comment.