Skip to content

TsayAdobe/cc

This branch is 66 commits behind adobecom/cc:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6ccae68 · Sep 30, 2024
Aug 23, 2024
Mar 28, 2024
Feb 1, 2024
Sep 30, 2024
Jan 18, 2024
Sep 30, 2024
Jul 10, 2024
Jan 10, 2023
Nov 15, 2023
Aug 5, 2024
Mar 28, 2024
Jan 10, 2023
Dec 4, 2023
Mar 19, 2024
Jan 10, 2023
Jan 10, 2023
Jan 10, 2023
Mar 21, 2024
Mar 15, 2024
May 5, 2023
Apr 24, 2023
Aug 13, 2024
Mar 18, 2024
Jan 10, 2023
Jul 10, 2024
Jul 10, 2024
Jun 6, 2024
Mar 4, 2024

Repository files navigation

CC x Milo

The Franklin based project for creative cloud pages on www.adobe.com. Based off of milo-college.

Code merge process

https://github.com/adobecom/cc/wiki

Developing

  1. Install the AEM CLI: sudo npm install -g @adobe/aem-cli
  2. Run aem up this repo's folder. (opens your browser at http://localhost:3000)
  3. Open this repo's folder in your favorite editor and start coding.

Testing Milo Changes on CC Pages

  1. Run 'aem up' in this folder to ensure the cc site is running locally.
  2. Make changes in milo, and then from the milo folder, run npm run libs.
  3. Milo will run at:
http://localhost:6456
  1. On your localhost:3000/ or the main-<project>-<owner> versions of your site, add the URL params: ?milolibs=local
  2. You should see milo changes occuring on cc pages.
  3. When needing to test on a cc page while making a PR for milo, add the URL params: ?milolibs=<name-of-milo-branch>to your test URLs.

Creating New Blocks

When creating new blocks, first vet any requirements/author-experience in milo-community. There may be a way to acheive your goals with what currently exists in milo.

Testing

npm run test

or:

npm run test:watch

This will give you several options to debug tests. Note: coverage may not be accurate.

Linting

To run the linter run:

npm run lint

To lint just js or css files, run

npm run lint:css

or:

npm run lint:js

If you need to lint just one file, you can run:

npx eslint file1.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.9%
  • HTML 19.8%
  • CSS 19.3%