17 |
18 |
19 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/components/Logo.vue:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
35 |
--------------------------------------------------------------------------------
/components/README.md:
--------------------------------------------------------------------------------
1 | # COMPONENTS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | The components directory contains your Vue.js Components.
6 |
7 | _Nuxt.js doesn't supercharge these components._
8 |
--------------------------------------------------------------------------------
/layouts/README.md:
--------------------------------------------------------------------------------
1 | # LAYOUTS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your Application Layouts.
6 |
7 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts).
8 |
--------------------------------------------------------------------------------
/layouts/default.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
19 |
20 |
22 |
--------------------------------------------------------------------------------
/middleware/README.md:
--------------------------------------------------------------------------------
1 | # MIDDLEWARE
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your application middleware.
6 | Middleware let you define custom functions that can be run before rendering either a page or a group of pages.
7 |
8 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware).
9 |
--------------------------------------------------------------------------------
/nuxt.config.js:
--------------------------------------------------------------------------------
1 |
2 | export default {
3 | mode: 'spa',
4 | /*
5 | ** Headers of the page
6 | */
7 | head: {
8 | title: process.env.npm_package_name || '',
9 | meta: [
10 | { charset: 'utf-8' },
11 | { name: 'viewport', content: 'width=device-width, initial-scale=1' },
12 | { hid: 'description', name: 'description', content: process.env.npm_package_description || '' }
13 | ],
14 | link: [
15 | { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
16 | ]
17 | },
18 | /*
19 | ** Customize the progress-bar color
20 | */
21 | loading: { color: '#fff' },
22 | /*
23 | ** Global CSS
24 | */
25 | css: [
26 | ],
27 | /*
28 | ** Plugins to load before mounting the App
29 | */
30 | plugins: [
31 | '~/plugins/firebase.js',
32 | '~/plugins/fireauth.js'
33 | ],
34 | /*
35 | ** Nuxt.js dev-modules
36 | */
37 | buildModules: [
38 | '@nuxtjs/tailwindcss',
39 | ],
40 | /*
41 | ** Nuxt.js modules
42 | */
43 | modules: [
44 | ],
45 | /*
46 | ** Build configuration
47 | */
48 | build: {
49 | /*
50 | ** You can extend webpack config here
51 | */
52 | extend(config, ctx) {
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nuxt-firebase-vuex-tutorial",
3 | "version": "1.0.0",
4 | "description": "Setting up user accounts with nuxt, vuex, and firebase",
5 | "author": "Drew",
6 | "private": true,
7 | "scripts": {
8 | "dev": "nuxt",
9 | "build": "nuxt build",
10 | "start": "nuxt start",
11 | "generate": "nuxt generate"
12 | },
13 | "dependencies": {
14 | "firebase": "^7.9.1",
15 | "nuxt": "^2.0.0"
16 | },
17 | "devDependencies": {
18 | "@nuxtjs/tailwindcss": "^1.0.0"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/pages/README.md:
--------------------------------------------------------------------------------
1 | # PAGES
2 |
3 | This directory contains your Application Views and Routes.
4 | The framework reads all the `*.vue` files inside this directory and creates the router of your application.
5 |
6 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).
7 |
--------------------------------------------------------------------------------
/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |