/codingwithjohan-nuxt

My personal blog implemented with Nuxt

Primary LanguageVue

Coding with Johan

Development Setup

SSL certificates

SSL certificates can be created with mkcert.

  1. Follow the installation instructions on their GitHub repo (if this is not done yet)
  2. Create a new local CA (if this is not done yet)
    mkcert -install
  3. Create the folder to store the certificate and key
    cd <coding with johan root dir>
    mkdir ssl
    cd ssl
  4. Generate the certificate and key
    mkcert localhost

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

SEO and social media display

The blog is optimized as much as possible for SEO purposes and display on social media.

The following links give more information on these topics: