@spartacus/smartedit

Smart Edit feature library for Spartacus

Usage no npm install needed!

<script type="module">
  import spartacusSmartedit from 'https://cdn.skypack.dev/@spartacus/smartedit';
</script>

README

Spartacus Smart Edit Library

Spartacus Smart Edit can be added to the existing Spartacus application by running ng add @spartacus/smartedit. For more information about Spartacus schematics, visit the official Spartacus schematics documentation page.

If you install smaredit library manually, after installation you also need to either copy the file webApplicationInjector.js from node_modules/@spartacus/smartedit/asset to your application's asset folder; or add this into "assets" array in your angular.json

  {
    "glob": "**/*",
    "input": "node_modules/@spartacus/smartedit/assets",
    "output": "assets/"
  }

For more information, see Spartacus.