Personal music site built with Nuxt and Cosmic JS.
Import example bucket.json to your Cosmic JS bucket.
Edit instance.config.js
to adjust app colors if you need.
You can see that Cosmic JS access credentials are picked up from the next environment variables:
COSMIC_BUCKET
COSMIC_READ_KEY
COSMIC_WRITE_KEY
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm start
# generate static project
$ npm run generate
This app is based on Nuxt.js. For detailed explanation on how things work, checkout the Nuxt.js docs.