More Premium Hugo Themes Premium Vue Themes

Static Website

New Vue/Nuxt website for cdnjs.com - The #1 free and open source CDN built to make life easier for developers.

Static Website

New Vue/Nuxt website for cdnjs.com - The #1 free and open source CDN built to make life easier for developers.

Author Avatar Theme by cdnjs
Github Stars Github Stars: 82
Last Commit Last Commit: Apr 5, 2025 -
First Commit Created: Feb 24, 2024 -
default image

Overview:

The cdnjs/static-website repository hosts the new cdnjs website built with Vue & Nuxt, following the proposed branding. Completely reliant on the cdnjs API, the website ensures low resource usage and limited app logic.

Features:

  • Node.js Project: Built on Node.js with specified requirements.
  • Dependency Lock File: Ensures consistent dependency versions across installations.
  • Webpack Bundle Analysis: Utilizes Webpack to generate client-side bundle, with analysis tools available.

Installation:

  1. Ensure Node.js is installed according to the specified version in .nvmrc.
  2. Install Node dependencies using:
    npm install
    
  3. Start Nuxt in development mode:
    npm run dev
    

Summary:

The cdnjs/static-website is a Vue & Nuxt project relying on the cdnjs API for minimal resource usage. Developers can set up the website by following the specified Node.js requirements and utilizing the provided lock file for consistent installs. The use of Webpack allows for effective bundle analysis, enabling developers to better understand the size and components of the final bundle. By correctly setting environment variables for site base, Google Analytics, and Sentry error logging, developers can ensure smooth deployment and error tracking in production environments.