text: import Vue from 'vue';
  import VueRouter from 'vue-router';
  
  Vue.use(VueRouter);
  
  import Home from './pages/Home.vue';
  import About from './pages/About.vue';
  import Blog from './pages/Blog.vue';
  import NotFound from './pages/NotFound.vue';
  import PostDetails from './pages/PostDetails.vue';
  import TagDetails from './pages/TagDetails.vue';
  import Contacts from './pages/Contacts.vue';
  
  const router = new VueRouter({
  	mode: 'history',
  	routes: [
  		{
  			path: '/',
  			name: 'home',
  			component: Home
  		},
  		{
  			path: '/about',
  			name: 'about',
  			component: About
  		},
  		{
  			path: '/blog',
  			name: 'blog',
  			component: Blog
  		},
  		{
  			path: '/blog/:slug',
  			name: 'post-details',
  			component: PostDetails
  		},
  		{
  			path: '/tags/:slug',
  			name: 'tag-details',
  			component: TagDetails
  		},
  		{
  			path: '/*',
  			name: 'not-found',
  			component: NotFound
  		},
  		{
  			path: '/contacts',
  			name: 'contacts',
  			component: Contacts
  		}
  	]
  });
  
  export default router;
  