https://github.com/berhalak/vue-cli-plugin-alias
Aliasing common html code in vue template.
https://github.com/berhalak/vue-cli-plugin-alias
vue vue-cli vue-cli-plugin
Last synced: 3 days ago
JSON representation
Aliasing common html code in vue template.
- Host: GitHub
- URL: https://github.com/berhalak/vue-cli-plugin-alias
- Owner: berhalak
- License: gpl-3.0
- Created: 2019-05-06T20:23:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T18:01:42.000Z (almost 5 years ago)
- Last Synced: 2026-04-24T09:14:25.403Z (3 days ago)
- Topics: vue, vue-cli, vue-cli-plugin
- Language: TypeScript
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-cli-plugin-alias
Aliasing common html code in vue template.
This plugin lets you create macros or aliases in your *.vue files
Installation:
vue add vue-cli-plugin-alias
Or through vue ui, search for vue-cli-plugin-alias
Sample (also see test.ts)
Transforms vue template from alias form:
```html
```
To:
```html
```
Other options - use upper case for inline aliasing
```html
```