Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Encapsulate UI components imports #981

Conversation

derpdead
Copy link
Contributor

…lly, exclude moment locals from build

Description

Issue #980

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit Tests
  • e2e Test

Checklist:

  • I have read the contribution requirements and fulfil them.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@derpdead derpdead added the performance (type) Performance improvements label Jul 21, 2021
@derpdead derpdead requested a review from bleto July 21, 2021 10:01
@derpdead derpdead self-assigned this Jul 21, 2021
Copy link
Member

@bleto bleto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check all the places where components: {} occurs

components: {
Grid,
},
components: {},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty components property - to remove

components: {
TextField,
},
components: {},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty components property - to remove

components: {
Select,
},
components: {},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty components property - to remove

import {
mapActions,
} from 'vuex';

export default {
name: 'CollectionProductsGrid',
components: {
Grid,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line - to remove

Comment on lines 26 to 29
error: {
type: Boolean,
default: false,
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this property is not used

@derpdead derpdead merged commit eecef92 into ergonode:feature/nuxt-build-optimisation Jul 23, 2021
derpdead added a commit that referenced this pull request Aug 2, 2021
* Encapsulate UI components imports (#981)

* feat(core): encapsulate UI components imports and register them globally, exclude moment locals from build

* feat(core): clean code

* feat(core): register components for unit tests

* feat(core): clean code

* feat(core): clean code
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
performance (type) Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants