# install dependencies
$ npm install
# switch to proper node version (requires nvm)
$ nvm use
# serve with hot reload at localhost:3000
$ npm start
# build for production and launch server
$ npm run build
# generate static project
$ npm run generate
- Nuxt.js on the front-end
- Sanity.io on the back-end
- Continuous deployment via Netlify
- Video CDN was created with AWS S3 + Cloudfront
Event Name | What's it do? | Explicitly called? |
---|---|---|
page::mounted |
Tells $nuxt app that mounted() has completed. |
Yes! Add this.$nuxt.$emit('page::mounted') at the end of a page's mounted() lifecycle hook. |
route::updated |
Informs the app that the user wants to change routes | No, defined once in layouts/default.vue |
All type on the Site should be fed through the <Type>
component. This component is responsible for handling the size and style of all letterforms. The typographic scale across all sizes is generated mathmatically using pixel values. For xx
machines and above, those absolute (px
) values are converted to relative (vw
) units and scale fluidly!