This is a code online editing preview tool, similar to codepen
.
[o] Built-in many frontend templates
[o] Support multiple preprocessing languages
[o] Support vue3 sfc
[o] Support for save code
[o] Built-in support for using ES module syntax on browsers using unpkg, esbuild and importmap
[o] Support code formatting
[o] Support setting CDNjs for use
[o] Support github third-party login
[o] Support export zip
[o] Support embedded mode for easy use in documentation sites, making documentation examples easier
[o] Support sharing code URL to others to view
[x] Support multiple layouts to switch
Clone this repository and install dependencies by running pnpm
, then:
pnpm dev
: Run in development modepnpm build
: Build in production modepnpm preview
: Run preview
- React
- Vue
- Vue3 SFC
- Angular
- SolidJs
- RxJS
Currently supports using ESM
in JavaScript
, TypeScript
, CoffeeScript
, etc. mode, by default, if you directly import as follows:
import moment from 'moment';
It will be converted into script
and placed in html head
:
<script src="https://esbuild.vercel.app/moment@latest?format=iife"></script>
In the case of script type="module"
(ex: vue3 sfc
or solidJs
), it will be converted into:
import moment from 'https://unpkg.com/moment?module';
Category | Language |
---|---|
HTML | Haml, Markdown, Pug |
CSS | Less, SCSS, Sass, Stylus, PostCSS |
JS | Babel, TypeScript, CoffeeScript, LiveScript |
- vue3
- pinia
- typescript
- tailwindcss
- vite
- monaco editor
- loadjs
- jszip
- file-saver
- vitest
- @testing-library
- msw