GithubHelp home page GithubHelp logo

leon-kfd / onlinecodeeditor Goto Github PK

View Code? Open in Web Editor NEW
35.0 3.0 8.0 1.61 MB

A simple code editor like CodePen, built by Vue3

Home Page: https://code.howdz.xyz

License: MIT License

JavaScript 2.68% HTML 4.23% Vue 74.18% CSS 2.84% TypeScript 15.88% SCSS 0.20%
vue3 codemirror typescript emmet

onlinecodeeditor's Introduction

Online Code Editor

An online code Editor like CodePen, built by Vue3.

This is a pratice project.

Status: ✏

Feature

✅ Offline Demo.(Used iframe and postMessage to refresh)

✅ Layout Resize and Fold.

✅ HTML/CSS Emmet

✅ Add CDN.

✅ Add SCSS Mode. (It's based on an online api provided by sassmeister.com)

✅ Mobile View. (Responsive design)

Todo

😴 Javascript Babel Mode.
😴 Account System for code sync.
😴 Online Code show.
😴 More code layout view.

...

onlinecodeeditor's People

Contributors

leon-kfd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

onlinecodeeditor's Issues

不刷新页面的方式好像还是有问题的。

看了你知乎的文章中有提到说,通过简单的改写html/css/js实现不刷新页面更新页面效果,假如我在js编辑部分定义了一个常量,
const test = 'php是世界上最好的语言';

防抖过后触发,控制台页面会一直报错。单纯的替换脚本js是不会被清除的。

还可以再优化一下

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.