Skip to content

Commit e2cabef

Browse files
committed
merge conflict fix
2 parents 3c470f6 + bc4163c commit e2cabef

14 files changed

+901
-16809
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ npm-debug.log*
77
yarn-debug.log*
88
yarn-error.log*
99

10+
# package lock files
11+
package-lock.json
12+
yarn.lock
13+
1014
# Runtime data
1115
pids
1216
*.pid
@@ -80,6 +84,7 @@ dist
8084
# IDE / Editor
8185
.idea
8286
.editorconfig
87+
.vscode
8388

8489
# Service worker
8590
sw.*

README.md

+25-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
# Nuxt, Vuetify, & Netlify CMS Starter Kit
1+
# Nuxt, Vuetify, & Netlify CMS Starter
22

3-
A simple repo to add Vueity and blog functionality to [Nuxt & Netlify CMS Starter](https://github.com/renestalder/nuxt-netlify-cms-starter-template)
3+
Built on top of [Nuxt Netlify CMS Starter](https://github.com/xdesro/nuxt-netlify-cms-starter)
44

5-
A lot of the starter repos for **Nuxt x Netlify CMS** use a module like `nuxtent` or `nuxtdown` to manage flat file content. This project is meant to be a solution for those who don't mind doing a little more configuration to not have to rely on these dependencies.
5+
## How to use
6+
7+
## Getting Started
8+
9+
The quickest way to get started is with Netlify's hyper-convenient **one-click Deploy To Netlify**, which will automatically create an instance of this project on your GitHub account and deploy it instantly to Netlify.
10+
11+
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/jbratcher/nuxt-netlify-cms-starter-kit)
12+
13+
Otherwise, you can follow these steps!
614

715
1. Clone the repository locally and cd into the directory.
816

@@ -15,28 +23,28 @@ cd nuxt-netlify-cms-starter
1523
2. Install dependencies.
1624

1725
```bash
18-
npm install
26+
yarn install
1927
```
2028

2129
3. Run the project for local dev. This will start a hot-reloading server at `localhost:3000`.
2230

2331
```bash
24-
npm run dev
32+
yarn dev
2533
```
2634

2735
4. Build the app for server-side rendered deployment. See more about **Universal SSR** in the [Nuxt.js docs](https://nuxtjs.org/guide#server-rendered-universal-ssr-).
2836

2937
```bash
30-
npm run build
38+
yarn build
3139

3240
# And to serve that deployment...
33-
npm run start
41+
yarn start
3442
```
3543

36-
5. Generate a fully pre-rendered static site. See more [in the docs](https://nuxtjs.org/guide#static-generated-pre-rendering-).
44+
5. Generate a fully pre-rendered static site. See more [in the docs](https://nuxtjs.org/guide#static-generated-pre-rendering-).
3745

3846
```bash
39-
npm run generate
47+
yarn generate
4048
```
4149

4250
> This project was bootstrapped with `create-nuxt-app`. There are more detailed explanations of how everything works in the [Nuxt.js docs](https://nuxtjs.org).
@@ -45,7 +53,7 @@ npm run generate
4553

4654
This project comes with Netlify CMS ready to rumble, and a basic blog configuration. To use Netlify CMS:
4755

48-
### 🔏 Authenticating with Netlify Identity
56+
### Authenticating with Netlify Identity
4957

5058
1. Deploy to Netlify at least once.
5159
2. Go to **Settings > Identity**, and select **Enable Identity service**.
@@ -61,8 +69,12 @@ This project comes with Netlify CMS ready to rumble, and a basic blog configurat
6169

6270
#### To change netlify deploy url, run localStorage.removeItem("netlifySiteURL") in the browser console.
6371

72+
<<<<<<< HEAD
6473
### Use Netlify CMS Dashboard
74+
=======
75+
### Netlify CMS Dashboard
76+
>>>>>>> master
6577
66-
1. In your browser, naviage to `localhost:3000/admin`.
67-
2. Login via your chosen method.
68-
3. You will be redirectd to the dashboard where you can create and manage posts
78+
1. In your browser, navigate to `localhost:3000/admin`.
79+
2. Login
80+
3. From the dashboard, you can create, edit, and delete resources and resource types.

components/Logo.vue

-79
This file was deleted.

components/MenuLinks.vue

+26-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
/* eslint-disable */
22
<template>
33
<!-- Links Wrapper -->
4-
<v-list :class="listClass">
4+
<v-list :class="`${listClass} py-0`" color="transparent" rounded>
55
<!-- General links -->
66
<v-list-item
77
v-for="(item, i) in generalLinks"
88
:key="i + `-${item.title}`"
99
:to="item.to"
10-
:class="listItemClass"
11-
dark
10+
:class="`${listItemClass} mb-0`"
1211
router
1312
exact
1413
>
15-
<v-list-item-action>
14+
<v-list-item-action v-if="item.icon" class="mr-2">
1615
<v-icon>{{ item.icon }}</v-icon>
1716
</v-list-item-action>
1817
<v-list-item-content>
@@ -46,5 +45,27 @@ export default {
4645
}
4746
</script>
4847

49-
<style>
48+
<style lang="scss">
49+
.mobile {
50+
display: flex;
51+
flex-direction: column;
52+
align-items: center;
53+
margin-right: 0;
54+
padding-top: 2rem;
55+
56+
.v-list-item {
57+
margin: 1rem 0;
58+
min-width: 12.5rem;
59+
60+
.v-list-item__title {
61+
font-size: 1.67rem;
62+
}
63+
}
64+
}
65+
66+
@media screen and (min-width: 600px) {
67+
.v-list {
68+
display: flex;
69+
}
70+
}
5071
</style>

0 commit comments

Comments
 (0)