@therobot/loljsure-loader
v0.0.6
Published
lisp like html loader
Downloads
1
Readme
jsedn parser loader for vuejs and webpack
???
(div
(.header {v-slot:default {key value}} hello)
(.content
{v-slot #. (valueOne
anotherTwo
#someMap {key value
index i}
#nested #. (state code))})
(.footer {v-slot #.(one two)} hello))
outputs to
<div>
<div
v-slot:default="{key:value}"
class="header"
>
hello
</div>
<div
v-slot="{
valueOne: valueOne,
anotherTwo: anotherTwo,
someMap: {
key: value,
index: i
},
nested: {
state: state,
code: code
}
}"
class="content"
>
</div>
<div
v-slot="{
one: one,
two: two
}"
class="footer"
>
hello
</div>
</div>
todo
finalize, write test, rewrite this garbage
wrap\fix\fork jsedn
throws errors on @
to be compiant, we do not need that, so like a thru leet i just copy node_modules/jsedn/*
and comment that line... i am ashamed