Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93be1b4

Browse filesBrowse files
committed
refactor: move all template components to 'template' folder
1 parent 0f6689a commit 93be1b4
Copy full SHA for 93be1b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

56 files changed

+21
-25
lines changed

‎src/components/footer/index.js

Copy file name to clipboardExpand all lines: src/components/footer/index.js
-5Lines changed: 0 additions & 5 deletions
This file was deleted.

‎src/components/header/index.js

Copy file name to clipboardExpand all lines: src/components/header/index.js
-15Lines changed: 0 additions & 15 deletions
This file was deleted.

‎src/components/index.js

Copy file name to clipboardExpand all lines: src/components/index.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ export * from './collapse'
99
export * from './dropdown'
1010
export * from './element-cover'
1111
export * from './embed'
12-
export * from './footer'
1312
export * from './form'
1413
export * from './grid'
15-
export * from './header'
1614
export * from './image'
1715
export * from './jumbotron'
1816
export * from './link'
@@ -25,11 +23,11 @@ export * from './pagination'
2523
export * from './progress'
2624
export * from './render-function'
2725
export * from './scrollbar'
28-
export * from './sidebar'
2926
export * from './spinner'
3027
export * from './switch'
3128
export * from './table'
3229
export * from './tabs'
30+
export * from './template'
3331
export * from './toast'
3432
export * from './toggler'
3533
export * from './widgets'

‎src/components/scrollbar/tests/CScrollbar.spec.js

Copy file name to clipboardExpand all lines: src/components/scrollbar/tests/CScrollbar.spec.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { mount } from '@vue/test-utils'
2-
import CSidebarNav from '../../sidebar/CSidebarNav'
3-
import CSidebar from '../../sidebar/CSidebar'
2+
import CSidebarNav from '../../template/CSidebarNav'
3+
import CSidebar from '../../template/CSidebar'
44
import Component from '../CScrollbar'
55
import Vue from 'vue'
66

‎src/components/sidebar/index.js renamed to ‎src/components/template/index.js

Copy file name to clipboardExpand all lines: src/components/template/index.js
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
import CFooter from './CFooter'
2+
3+
import CHeader from './CHeader'
4+
import CHeaderBrand from './CHeaderBrand'
5+
import CHeaderNav from './CHeaderNav'
6+
import CHeaderNavItem from './CHeaderNavItem'
7+
import CHeaderNavLink from './CHeaderNavLink'
8+
import CSubheader from './CSubheader'
9+
110
import CSidebar from './CSidebar'
211
import CSidebarBrand from './CSidebarBrand'
312
import CSidebarClose from './CSidebarClose'
@@ -12,6 +21,15 @@ import CSidebarNavItem from './CSidebarNavItem'
1221
import CSidebarNavTitle from './CSidebarNavTitle'
1322

1423
export {
24+
CFooter,
25+
26+
CHeader,
27+
CHeaderBrand,
28+
CHeaderNav,
29+
CHeaderNavItem,
30+
CHeaderNavLink,
31+
CSubheader,
32+
1533
CSidebar,
1634
CSidebarBrand,
1735
CSidebarClose,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.