Skip to content

Latest commit

 

History

History
 
 

coding-components-angular

Folders and files

README.md

Coding components Angular sample

📁 Click here to download this directory as a ZIP file 📁

See the Get started with npm guide for full instructions and the Coding components reference documentation for more information.

Known issues

  • You may encounter the following build configuration error: [ERROR] No loader is configured for ".ttf" files: node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf.

    • To fix this, the following has been added to the angular.json configuration file in this sample:

      "loader": {
        ".ttf": "file"
      }
  • .woff2 asset file support should be enabled to support font importing.

    • To fix this, the following has been added to the angular.json configuration file in this sample:

      "loader": {
        ".woff2": "file"
      }
    • See this issue for more information.

  • monaco-editor/min/vs/editor/editor.main.css will need to be imported because of an Angular bug that prevents css auto-loading in the production build.

  • You may encounter the following warning when running the sample: The above dynamic import cannot be analyzed by Vite. This does not affect the functionality of the sample. The problem may be related to Angular's Vite configuration and how it handles dynamic imports such as those in the monaco-editor which the Arcade Editor component is built with.