This repository was archived by the owner on Mar 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +17
-17
lines changed Expand file tree Collapse file tree 10 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 99</template >
1010
1111<script >
12- import SideBar from " ./SideBar.vue" ;
13- import Footer from " ./Footer.vue" ;
12+ import SideBar from " ./components/ SideBar.vue" ;
13+ import Footer from " ./components/ Footer.vue" ;
1414
1515export default {
1616 components: {
@@ -22,5 +22,5 @@ export default {
2222
2323<!-- Add "scoped" attribute to limit CSS to this component only -->
2424<style lang="scss">
25- @import " ../ /assets/styles/main.scss" ;
25+ @import " ./assets/styles/main.scss" ;
2626 </style >
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ input[type=password] {
5353}
5454
5555.eye-open {
56- background-image : url (" .. /assets/icons/eye.svg" );
56+ background-image : url (" ./assets/icons/eye.svg" );
5757 background-repeat : no-repeat ;
5858 width : 1.5rem ;
5959 height : 1.5rem ;
6060
6161}
6262.eye-closed {
63- background-image : url (" .. /assets/icons/eye-off.svg" );
63+ background-image : url (" ./assets/icons/eye-off.svg" );
6464 background-repeat : no-repeat ;
6565 width : 1.5rem ;
6666 height : 1.5rem ;
Original file line number Diff line number Diff line change 11import Vue from "vue" ;
2- import AppLayout from "./components/AppLayout .vue" ;
2+ import App from "./App .vue" ;
33import router from "./router" ;
44import store from "./store" ;
55import attemptToAuthoriseTokens from "./helpers/authorise-tokens" ;
66
77new Vue ( {
88 el : "#app" ,
9- render : h => h ( AppLayout ) ,
9+ render : h => h ( App ) ,
1010 router,
1111 store
1212} ) ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import {
4141 deleteJournal ,
4242 updateJournalTitle
4343} from " ../models/JournalsModel" ;
44- import JournalCard from " ./JournalCard.vue" ;
44+ import JournalCard from " ../components /JournalCard.vue" ;
4545
4646export default {
4747 components: {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {
3737 deletePost ,
3838 updatePost
3939} from " ../models/PostsModel" ;
40- import PostCard from " ./PostCard.vue" ;
40+ import PostCard from " ../components /PostCard.vue" ;
4141
4242export default {
4343 components: {
File renamed without changes.
Original file line number Diff line number Diff line change 3939
4040<script >
4141import { mapGetters } from " vuex" ;
42- import Login from " ./Login.vue" ;
43- import GithubCorner from " ./GithubCorner.vue" ;
42+ import Login from " ../components /Login.vue" ;
43+ import GithubCorner from " ../components /GithubCorner.vue" ;
4444
4545export default {
4646 name: " Home" ,
Original file line number Diff line number Diff line change 5252
5353<script >
5454import { mapGetters , mapActions } from " vuex" ;
55- import Modal from " ./Modal.vue" ;
55+ import Modal from " ../components /Modal.vue" ;
5656
5757export default {
5858 name: " Profile" ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,30 +9,30 @@ const routes = [
99 {
1010 path : "/home" ,
1111 name : "home" ,
12- component : ( ) => import ( "./components /Home.vue" )
12+ component : ( ) => import ( "./pages /Home.vue" )
1313 } ,
1414 {
1515 path : "/journals" ,
1616 name : "journals" ,
17- component : ( ) => import ( "./components /AllJournals.vue" ) ,
17+ component : ( ) => import ( "./pages /AllJournals.vue" ) ,
1818 meta : { authRequired : true }
1919 } ,
2020 {
2121 path : "/journals/:id/posts" ,
2222 name : "posts" ,
23- component : ( ) => import ( "./components /AllPosts.vue" ) ,
23+ component : ( ) => import ( "./pages /AllPosts.vue" ) ,
2424 meta : { authRequired : true }
2525 } ,
2626 {
2727 path : "/profile" ,
2828 name : "profile" ,
29- component : ( ) => import ( "./components /Profile.vue" ) ,
29+ component : ( ) => import ( "./pages /Profile.vue" ) ,
3030 meta : { authRequired : true }
3131 } ,
3232 {
3333 path : "/recover" ,
3434 name : "recover" ,
35- component : ( ) => import ( "./components /RecoverAccount.vue" )
35+ component : ( ) => import ( "./pages /RecoverAccount.vue" )
3636 }
3737] ;
3838
You can’t perform that action at this time.
0 commit comments