Skip to content

weareseeed/square-categories-description-snippet

Repository files navigation

Square Categories Description Snippet

Snippet to use the SEO descriptions in Square Online Categories

Build

Requirements:

If you have both installed, you can run

yarn build

To install dependencies and then:

yarn build

To generate the final script

This will output a dist folder which will contain an index.js and index.js.map. The index.js file will contain the code to run as snippet on Square Online

Install

You can follow Square Online Docs on this regard to add a snippet to a site

To Do

  • Replace timeouts preferably for Mutation Observer, both to insert the snippet inside the page and to watch changes on meta tag
  • Much room for improvement on routing handling
  • Linting and formating setup
  • Styles customization

Contribute

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Snippet to use SEO descriptions in Square Online Categories

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published