Skip to content

Web de la Corporación Chilena de Video y Artes Electrónicas CChV

Notifications You must be signed in to change notification settings

brunocabezas/cchv-web

Repository files navigation

web-cchv

Corporación Chilena de Video: https://www.cchv.cl

Based on Nuxt.js

Web Corporación Chilena de Video

Setup

npm install

Development

Serve with hot reload on localhost:3000 with:

npm run dev

The following environment variables can be defined on a .env file to enable specific features:

BASE_URL // Base url used to query the API
NUXT_DIRECTORY // Directory of the application in the server
GOOGLE_ANALYTICS_ID // Google analytics tracking id

Production

Compiles and minifies for production:

npm run build
npm run start // Serves production bundle

Generate static project:

npm run generate

References

Improvements

  • Add i18n, organize string labels
  • Remove unused isLoading from components
  • Re-asses use of mocks on development