GithubHelp home page GithubHelp logo

klwdesigns / nuxt-static-skeleton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gms64/nuxt-static-skeleton

0.0 1.0 0.0 233 KB

Skeleton Nuxt Blog using Nuxt-Content, Netlify CMS, and a few addl features

Home Page: https://nuxt-static-skeleton.netlify.app/

License: MIT License

CSS 49.11% Vue 43.35% JavaScript 5.83% HTML 1.71%

nuxt-static-skeleton's Introduction

Nuxt Static Skeleton

Skeleton project for creating a blog with Nuxt-Content and Netlify CMS.

Examples:

What the project includes

  • Home Page (custom)
  • nuxt-content powered:
    • About Page (markdown)
    • Contact Page (markdown)
    • Blog Post List Page(s) (with pagination - default to 5 posts per page)
    • Blog Post Single Page
  • Google Fonts (Header / Body Text can be defined separately)
  • Flexbox Grid
  • Modified Skeleton CSS
  • Google Analytics (Turned on by default, you can add your id in the nuxt.config.js file)
  • Netlify CMS for in-browser editing (at /admin) once the site is deployed
  • Interactive Editor from nuxt-content when running the dev server
  • SEO Title / Description separation for better SEO control
  • Sitemap Generation via Netlify
  • Contact form via Netlify

How to set up your own blog using this as a template

To Do

  1. Fork the Repository
  2. Run npm install to install the current dependencies
    • Optional: Run npm run dev to start a local development server
  3. Link to Github. Create a new empty repo (in browser or CLI). Run git init to initiate a new project. Add a remote connection (whatever URL github gave you). git remote add origin https://github.com/[your-username]/[your-repo-name].git.
    • To add all files to the project, run git add * and git add .env
    • Commit files with git commit -m '[your message here]
    • To push files to github, run git push -u origin master
  4. Sign up for Netlify, link to your github.
  5. In netlify options, define:
    • build command: npm run generate
    • publish directory: dist
  6. In Netlify Settings, go to the Identity Tab and click the 'Enable Identity' button.
    • You should now be able to sign up / log in with an email. I've had issues with that configuration so I update to a Github sign-in. You have to configure that in the 'External Providers' option. You then have to go down to 'Git Gateway' services and enable that.
    • Configure Registration - would recommend changing Registration Preferences to 'Invite Only'. You can change that once you log in yourself.

If you don't want dark mode, you can remove these lines from the layouts/default.vue file head: { htmlAttrs: { class: 'dark-mode' } },

Notes

Built with:

nuxt-static-skeleton's People

Contributors

gms64 avatar kayalous avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.