Coder Social home page Coder Social logo

stuey61296 / monaco-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from typefox/monaco-components

0.0 0.0 0.0 1.47 MB

Monaco Editor and Language Client Wrapper, plus Monaco Editor React Component

License: MIT License

JavaScript 4.82% TypeScript 85.88% HTML 9.30%

monaco-components's Introduction

Monaco Editor Wrapper and Monaco Editor React Component

This repository started as a Lit component for Monaco Editor, but it has transformed into a wrapper for monaco-editor, monaco-languageclient and monaco-vscode-api and now features a react component (@typefox/monaco-editor-react) that encapsulates the monaco-editor-wrapper.

Packages

There are two npm packages generated from this repository:

Additionally you can find a private examples packages containing all examples that are served by Vite (see next chapter).

Important: Monaco Editor Workers has been moved to its own repo.

Getting Started

We recommend using Volta to ensure your node & npm are on known good versions.

If you have node.js LTS available, then from the root of the project run:

npm i
npm run build

If you get an error with npm i regarding tree-mending, you can run npm ci to clean things up from previous installations and continue.

Afterwards, launch the Vite development server:

npm run dev

If you want to change dependent code in the examples (monaco-editor-wrapper and @typefox/monaco-editor-react), you have to watch code changes in parallel:

npm run watch

You can find examples (manual human testing) here index.html. They can be used once Vite is running. You can reach it once started on http://localhost:20001.

monaco-components's People

Contributors

kaisalmen avatar christophcku avatar montymxb avatar msujew avatar stuey61296 avatar rhumbertgz avatar phated avatar lotes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.