This repository was archived by the owner on Mar 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +18
-17
lines changed Expand file tree Collapse file tree 11 files changed +18
-17
lines changed Original file line number Diff line number Diff line change
1
+ [ ![ Netlify Status] ( https://api.netlify.com/api/v1/badges/4ae54114-0254-4a6d-8c69-50babf908578/deploy-status )] ( https://app.netlify.com/sites/vue-netlify-fauna/deploys )
1
2
![ ] ( https://user-images.githubusercontent.com/18376481/78156268-78aed080-7436-11ea-9da7-57d83ec5ec8a.png )
2
3
# Vue - Netlify - Fauna
3
4
## A serverless stack with authentication ready to go!
Original file line number Diff line number Diff line change 9
9
</template >
10
10
11
11
<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" ;
14
14
15
15
export default {
16
16
components: {
@@ -22,5 +22,5 @@ export default {
22
22
23
23
<!-- Add "scoped" attribute to limit CSS to this component only -->
24
24
<style lang="scss">
25
- @import "../ /assets/styles/main.scss";
25
+ @import "./assets/styles/main.scss";
26
26
</style>
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ input[type=password] {
53
53
}
54
54
55
55
.eye-open {
56
- background-image : url (" .. /assets/icons/eye.svg" );
56
+ background-image : url (" ./assets/icons/eye.svg" );
57
57
background-repeat : no-repeat ;
58
58
width : 1.5rem ;
59
59
height : 1.5rem ;
60
60
61
61
}
62
62
.eye-closed {
63
- background-image : url (" .. /assets/icons/eye-off.svg" );
63
+ background-image : url (" ./assets/icons/eye-off.svg" );
64
64
background-repeat : no-repeat ;
65
65
width : 1.5rem ;
66
66
height : 1.5rem ;
Original file line number Diff line number Diff line change 1
1
import Vue from "vue" ;
2
- import AppLayout from "./components/AppLayout .vue" ;
2
+ import App from "./App .vue" ;
3
3
import router from "./router" ;
4
4
import store from "./store" ;
5
5
import attemptToAuthoriseTokens from "./helpers/authorise-tokens" ;
6
6
7
7
new Vue ( {
8
8
el : "#app" ,
9
- render : h => h ( AppLayout ) ,
9
+ render : h => h ( App ) ,
10
10
router,
11
11
store
12
12
} ) ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import {
41
41
deleteJournal ,
42
42
updateJournalTitle
43
43
} from " ../models/JournalsModel" ;
44
- import JournalCard from " ./JournalCard.vue" ;
44
+ import JournalCard from " ../components /JournalCard.vue" ;
45
45
46
46
export default {
47
47
components: {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {
37
37
deletePost ,
38
38
updatePost
39
39
} from " ../models/PostsModel" ;
40
- import PostCard from " ./PostCard.vue" ;
40
+ import PostCard from " ../components /PostCard.vue" ;
41
41
42
42
export default {
43
43
components: {
File renamed without changes.
Original file line number Diff line number Diff line change 39
39
40
40
<script >
41
41
import { 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" ;
44
44
45
45
export default {
46
46
name: " Home" ,
Original file line number Diff line number Diff line change 52
52
53
53
<script >
54
54
import { mapGetters , mapActions } from " vuex" ;
55
- import Modal from " ./Modal.vue" ;
55
+ import Modal from " ../components /Modal.vue" ;
56
56
57
57
export default {
58
58
name: " Profile" ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,30 +9,30 @@ const routes = [
9
9
{
10
10
path : "/home" ,
11
11
name : "home" ,
12
- component : ( ) => import ( "./components /Home.vue" )
12
+ component : ( ) => import ( "./pages /Home.vue" )
13
13
} ,
14
14
{
15
15
path : "/journals" ,
16
16
name : "journals" ,
17
- component : ( ) => import ( "./components /AllJournals.vue" ) ,
17
+ component : ( ) => import ( "./pages /AllJournals.vue" ) ,
18
18
meta : { authRequired : true }
19
19
} ,
20
20
{
21
21
path : "/journals/:id/posts" ,
22
22
name : "posts" ,
23
- component : ( ) => import ( "./components /AllPosts.vue" ) ,
23
+ component : ( ) => import ( "./pages /AllPosts.vue" ) ,
24
24
meta : { authRequired : true }
25
25
} ,
26
26
{
27
27
path : "/profile" ,
28
28
name : "profile" ,
29
- component : ( ) => import ( "./components /Profile.vue" ) ,
29
+ component : ( ) => import ( "./pages /Profile.vue" ) ,
30
30
meta : { authRequired : true }
31
31
} ,
32
32
{
33
33
path : "/recover" ,
34
34
name : "recover" ,
35
- component : ( ) => import ( "./components /RecoverAccount.vue" )
35
+ component : ( ) => import ( "./pages /RecoverAccount.vue" )
36
36
}
37
37
] ;
38
38
You can’t perform that action at this time.
0 commit comments