Home

Search IconIcon to open search

Vue

Create a project: pnpm create vue@3

# Projects

# Learning

computed properties docs has some food for thought.

# Notes

Template expressions ({{ }}) are sandboxed and only have access to a restricted list of globals. The list exposes commonly used built-in globals such as Math and Date.

Globals not explicitly included in the list, for example user-attached properties on window, will not be accessible in template expressions. You can, however, explicitly define additional globals for all Vue expressions by adding them to app.config.globalProperties.

# Prefix shorthands

v-bind - : (:some-attribute="...")
v-on - @ (@click="...")