Skip to content

Commit

Permalink
Remove home and about modules
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Jun 16, 2022
1 parent 1197217 commit 620c9bc
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 130 deletions.
36 changes: 0 additions & 36 deletions src/modules/about/content/about.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/modules/about/router/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/modules/about/views/Index.vue

This file was deleted.

25 changes: 0 additions & 25 deletions src/modules/home/components/OtuAutocomplete.vue

This file was deleted.

25 changes: 0 additions & 25 deletions src/modules/home/content/home.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/modules/home/router/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/modules/home/views/Index.vue

This file was deleted.

15 changes: 7 additions & 8 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ import {
} from 'vue-router'

import otusRoutes from '@/modules/otus/router'
import homeRoutes from '@/modules/home/router'
import aboutRoutes from '@/modules/about/router'
import dynamicRoutes from '~pages'
import routerConfiguration from '@/config/router.yml'

const { VITE_BASE_URL, VITE_ROUTER_HASH_MODE } = import.meta.env
const { base_url, hash_mode } = routerConfiguration

const router = createRouter({
history: VITE_ROUTER_HASH_MODE
? createWebHashHistory(VITE_BASE_URL)
: createWebHistory(VITE_BASE_URL),
history: hash_mode
? createWebHashHistory(base_url)
: createWebHistory(base_url),

routes: [
...homeRoutes,
...dynamicRoutes,
...otusRoutes,
...aboutRoutes
]
})

Expand Down

0 comments on commit 620c9bc

Please sign in to comment.