Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept x-data="true" as a synonym for x-data="" (#3339)
As per #3337, some frameworks (like htm) convert `<div x-data … />` to `<div x-data="true" … />` whereas Alpine.js currently only accepts `<div x-data="" … />`. This patch (as per #3337 (reply in thread)), also makes it accept `x-data="true"` to mean data is `{}`.
- Loading branch information