Directory Structure
Component Library Hierarchy
components/
│
├── LoneComponent/
│ └── LoneComponent.vue
│
├── ComponentWithExternalStyles/
│ ├── ComponentWithExternalStyles.vue
│ └── style.scss
│
├── ComponentWithLocalTypeScript/
│ ├── ComponentWithLocalTypeScript.vue
│ └── index.ts
│
├── ComponentWithLocalEnums/
│ ├── ComponentWithLocalEnums.vue
│ └── types.ts
│
├── ComponentWithAbstractClasses/
│ ├── abstracts/
│ │ ├── ExampleAbstractClassOne.ts
│ │ └── ExampleAbstractClassTwo.ts
│ └── ComponentWithAbstractClasses.vue
│
├── ComponentWithInterfaces/
│ ├── interfaces/
│ │ ├── ExampleInterfaceOne.ts
│ │ └── ExampleInterfaceTwo.ts
│ └── ComponentWithInterfaces.vue
│
├── ComponentWithPartials/
│ ├── partials/
│ │ ├── ComponentWithPartialsDefault.vue
│ │ ├── ComponentWithPartialsExternalLink.vue
│ │ └── ComponentWithPartialsInternalLink.vue
│ └── ComponentWithPartials.vue
│
├── ComponentWithEverything/
│ ├── abstracts/
│ │ ├── ExampleAbstractClassOne.ts
│ │ └── ExampleAbstractClassTwo.ts
│ ├── interfaces/
│ │ ├── ExampleInterfaceOne.ts
│ │ └── ExampleInterfaceTwo.ts
│ ├── partials/
│ │ ├── ComponentWithEverythingDefault.vue
│ │ ├── ComponentWithEverythingExternalLink.vue
│ │ └── ComponentWithEverythingInternalLink.vue
│ ├── ComponentWithEverything.vue
│ ├── index.ts
│ ├── types.ts
│ └── style.scss
│
├── index.ts
└── types.tsStructural Rules
index.ts
types.ts
Last updated