SSL certificates can be created with mkcert.
- Follow the installation instructions on their GitHub repo (if this is not done yet)
- Create a new local CA (if this is not done yet)
mkcert -install
- Create the folder to store the certificate and key
cd <coding with johan root dir> mkdir ssl cd ssl
- Generate the certificate and key
mkcert localhost
# 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.
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: