Search...
Toggle theme

Installing Vue 2.7 NES

Comprehensive guide for installing and configuring Vue 2.7 NES (Never-Ending Support), including detailed package configuration, compiler setup, and verification steps.

Latest Version

2.7.22 (Updated October 17th, 2024)

Prerequisites

Before beginning the installation, please review our Minimum Requirements to ensure a smooth installation process.

Installation Steps

Follow these three simple steps to install Vue 2.7 NES:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. Install & Run

Detailed Instructions

1. Package.json Configuration

Update your package.json with the following Vue references:

{
  "dependencies": {
    "vue": "npm:@neverendingsupport/vue2@2.7.22"
  },
  "overrides": {
    "vue": { ".": "npm:@neverendingsupport/vue2@2.7.22" },
    "@vue/compiler-sfc": { ".": "npm:@neverendingsupport/vue2@2.7.22-compiler-sfc" },
    "vue-server-renderer": { ".": "npm:@neverendingsupport/vue2@2.7.22-server-renderer" },
    "vue-template-compiler": { ".": "npm:@neverendingsupport/vue2@2.7.22-template-compiler" }
  }
}

2. Authentication Setup

Create or update your .npmrc file with the following content:

@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>

Replace <NES_ACCESS_TOKEN> with your actual access token.

Note: Using Artifactory? See our Artifactory Instructions for setup and configuration details.

3. Installation and Running

Install your dependencies and run the service:

npm install
npm run serve

Verification

If you'd like to validate you've downloaded the correct version (and don't mind rebuilding your package-lock.json file and node_modules folders), you can use either of these methods:

Method 1: Using yq

rm -rf node_modules package-lock.json
npm install
cat node_modules/vue/package.json | yq '{name, version}'

Expected output:

{
  "name": "@neverendingsupport/vue2",
  "version": "2.7.22"
}

Method 2: Manual Validation

rm -rf node_modules package-lock.json
npm install
cat node_modules/vue/package.json | grep -E 'name|version'

Expected output should include:

"name": "@neverendingsupport/vue2",
"version": "2.7.22",

Troubleshooting

If your NPM install fails, you're not seeing your packages replaced, or are encountering any other issues, please reach out to support@herodevs.com with the following:

  • The relevant sections of your package.json (applicable dependencies & overrides blocks)
  • The version of Node.js and NPM you are using (node -v and npm -v)
  • The last 6 characters of the NES Access Token being used

Security Note: Never share your full NES Access Token. No one from the NES team should ever ask for an entire token, even for troubleshooting purposes.

Please do not include any sensitive or confidential information in your email. We take great pride in being a security focused organization, and one way we help protect our customers is by limiting the information we have access to.

Additional Information

Direct download URLs for Vue 2.7 NES:

PackageURL
Vue Core
2.7.22
Download
Vue Server Renderer
2.7.22-server-renderer
Download
Vue Template Compiler
2.7.22-template-compiler
Download
Vue Compiler SFC
2.7.22-compiler-sfc
Download