Skip to content

mhak/xmcloud-nuxtjs

Repository files navigation

XM Cloud Starter Kit (Nuxt JS)

QUICK START

  1. In an ADMIN terminal:

    .\init.ps1 -InitEnv -LicenseXmlPath "C:\path\to\license.xml" -AdminPassword "DesiredAdminPassword"
  2. Restart your terminal and run:

    .\up.ps1
  3. Follow the instructions to deploy to XM Cloud

  4. Create Edge token and query from edge


About this Solution

This is a Proof of Concept demonstrating the use of NuxtJS on XM Cloud

https://github.com/Sitecore/jss

The Rendering SDK / Starter Kit contains many functionality to get you started developing in Nuxt.js.

✅ Site resolver

Filepath: rendering/src/lib/site-resolver

Layout service

Filepath: rendering/src/lib/page-props-factory

  1. ✅ Normal Mode
  2. todo: edit mode
  3. ✅ GraphQL vs Rest

Rendering

Filepath: rendering/src/plugins

  1. ✅ Sitecore Jss Store - Sitecore Context / Route data
  2. ✅ Sitecore Jss Placeholder - reads from component factory to render components dynamically

Misc notes

  1. Bootstrap.ts
    1. Generate plugins
    2. ✅ Generate config
    3. Generate component builder / components factory
  2. ✅ Rendering fields
  3. Dictionary
  4. Language resolver
  5. graphql-let
  6. edit frames

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published