Solve is a Vue.js app that lives on www.rackspace.com/solve
It pulls content from the following endpoints:
- https://www.rackspace.com/api/thought-leadership?_format=json
- https://www.rackspace.com/api/thought-leadership-categories?_format=json
Mock data is provided for tests and local development purposes.
NodeJS 14.
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
Use the following command to bump current version:
npm version major | minor | patch
For more information on versioning, see http://semver.org/
Use the following commands to perform linting:
# Lint Javascript
npm run lint:js
# Lint Sass
npm run lint:sass
Use the following command to run tests:
npm run test
All translations are ran through Drupal.t(). For local development purposes, Drupal.t() has been mocked in index.html
For a detailed explanation on how things work, check out the guide and docs for vue-loader.