Search...
Toggle theme

Installing Vue 2.6 NES

Comprehensive guide for installing and configuring Vue 2.6 NES (Never-Ending Support), including package configuration, verification steps, and troubleshooting guidance.

Latest Version

2.6.19 (Updated October 4th, 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.6 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.6.19"
  },
  "overrides": {
    "vue": { ".": "npm:@neverendingsupport/vue2@2.6.19" },
    "vue-template-compiler": { ".": "npm:@neverendingsupport/vue2@2.6.19-vue-template-compiler" },
    "vue-server-renderer": { ".": "npm:@neverendingsupport/vue2@2.6.19-vue-server-renderer" }
  }
}

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.6.19"
}

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.6.19",

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 Notes:

  • Please do not ever 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 otherwise 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.6 NES:

PackageURL
Vue Core
2.6.19
Download
Vue Template Compiler
2.6.19-vue-template-compiler
Download
Vue Server Renderer
2.6.19-vue-server-renderer
Download