English | 简体中文
This project will restore as many Vue core functions as possible. And try to keep the packaged code volume within 1024 bytes.
interface Options {
el?: string
data?: object
methods?: Record<string, Function>
watch?: Record<string, (val: any, oldVal: any) => void>
created?: Function
mounted?: Function
updated?: Function
}
{{ }}
:attr=""
@event=""
ref=""
this.$refs
this.$el
- vue.js
- vue.min.js Compressed
Rules of the game:
{
and ;
must be wrapped after, }
must be wrapped before, unless they are in a regular expression.
The goal is to use as few lines as possible.
learn more
- vue.devil.js
- vue.undevil.js Expanded