Skip to content
/ vueey Public

🤓 50 lines of code write Vue.js | 50行代码敲出Vue.js

License

Notifications You must be signed in to change notification settings

Tofu-Xx/vueey

Repository files navigation

vueey

English | 简体中文

This project will restore as many Vue core functions as possible. And try to keep the packaged code volume within 1024 bytes.

🎉 Achieved Property

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

🎯 Use Case

⌨️ Source Code

🩻 Devil Version

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

About

🤓 50 lines of code write Vue.js | 50行代码敲出Vue.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published