Latest Version: 2.6.18 (Updated July 25th, 2024)
How to configure Vue 2.6 NES
First, please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
1. Update your package.json
2. Create or update your .npmrc file
3. Install & Run!
Detailed Instructions
1. Substitute Vue references in your package.json with the following:
{
"dependencies": {
"vue": "npm:@neverendingsupport/vue2@2.6.18"
},
"overrides": {
"vue": { ".": "npm:@neverendingsupport/vue2@2.6.18" },
"vue-template-compiler": { ".": "npm:@neverendingsupport/vue2@2.6.18-vue-template-compiler" },
"vue-server-renderer": { ".": "npm:@neverendingsupport/vue2@2.6.18-vue-server-renderer" }
}
}
2. Create an .npmrc file with the following:
- Replace <NES_ACCESS_TOKEN>
with your access token
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
3. Install your dependencies and run the service:
npm install
npm run serve
And just like that, you can run your integration tests against NES Vue 2!
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), follow one of the two methods below.
Method 1: use yq to validate the correct dependency
rm -rf node_modules package-lock.json
npm install
cat node_modules/vue/package.json | yq '{ name, version }'
The resulting output should resemble:
{
"name": "@neverendingsupport/vue2",
"version": "2.6.18"
}
Method 2: Manual cat + grep
validation
rm -rf node_modules package-lock.json
npm install
cat node_modules/vue/package.json | grep -E 'name|version'
The output should include both of the following lines:
"name": "@neverendingsupport/vue2",
"version": "2.6.18",
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
(applicabledependencies
&overrides
blocks). -
The version of
Node.js
andNPM
you are using. You can gather them by runningnode -v
andnpm -v
respectively. -
The last 6 characters of the NES Access Token being used.
- Note: 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.
- Security Note: 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
The direct download URLs for NES Vue 2.6 are: