- Node.js 22 (see
.nvmrc; the generate command includes the compatibility option for Webpack 4) - npm 6.1+
- Visual Studio Code with the following plugins:
- Alternatively, WebStorm can also be used.
After cloning the repository, run:
# Install dependencies
$ npm installTo run the project locally, run:
# Serve a local server with hot reload at localhost:3000
$ npm run devTo build the project for deployment, run:
# Generate static project
$ npm run generateTo lint the project, run:
# Lint the project
$ npm run lint.nuxt: contains the dynamically generated files whennpm run devis used. Ignored by Git.assets: contains the un-complied assets such as images or fonts.artifactscharacter_thumbnailsiconsweapons
components: contains all the.Vuecomponents used on the website.content: contains all the Markdown, JSON and CSV files used on the website. A MongoDB-like API is exposed onlocalhost:3000/_content/.dist: contains the dynamically generated files whennpm run generateis used. Ignored by Git.layouts: contains all the layouts used by the site. The default layout,default.vue, is used if not specified.models: contains the models and classes used by the website.page: contains all the views and routes used on the website. Nuxt automatically creates a page for every.vuefiles inside the directory. The routing configuration is also automatically generated.plugins: contains all plugins used on the website.static: contains all static files used on the website such asfavicon.icoandrobots.txt. All files in the directory are served at root.store: contains all Vuex store files used on the website.nuxtconfig.js: the Nuxt.js configuration file.tailwind.config.js: the tailwindcss configuration file.tsconfig.js: the TypeScript configuration file.
The site is hosted on Cloudflare Workers Static Assets at
https://compendium.keqingmains.com. wrangler.jsonc contains the hosting and domain route settings.
The route serves this hostname directly from Cloudflare. Keep its DNS record proxied (orange cloud) so requests reach the route.
Use Node.js 22, install the locked dependencies with npm ci, then run npm run deploy.
Sign in to the KQM Cloudflare account with npx wrangler@4.127.1 login first.
If the shell has a Cloudflare API token for a different account, unset CLOUDFLARE_API_TOKEN before deployment.
The deployment command generates the static site and stops if a page cannot be generated.
The old /kqm-standards address redirects to /; unknown pages return HTTP 404.