wallacemaxters/blade-petite-vue
最新稳定版本:0.2.0
Composer 安装命令:
composer require wallacemaxters/blade-petite-vue
包简介
A small wrapper to usage petite-vue with Laravel Blade
README 文档
README
Use petite-vue with Blade views in Laravel
<html> <head> @petitevue </head> <body> <x-petite-vue :props="['name' => 'Wallace']"> The current url is: <span x-text="$page.url" /> My name is @{{ name }} This is another value @{{ anotherValue }} <button @@click="changeName"></button> <x-slot :script> <script> function (props) { return { ...props, anotherValue: 5, changeName() { this.name = 'Maxters'; } } } </script> </x-slot> </x-petite-vue> </body> </html>
统计信息
- 总下载量: 258
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-06