
É feito para todos os desenvolvedores da web que não gostam de escrever o mesmo código em um arquivo diferente que sua moeda: don't repeat yourself
você nunca precisará reescrever o mesmo texto
O repositório H5A está no github A versão atual é o 1.0.2
Se você quiser construir o H5ASSEMBLER na janela
Download msys64
Baixe Mingw64 ou Mingw32 Toolchains
Baixe o Flex, Bison e Make in Msys64 Type
pacman -S flex
pacman -S bison
pacman -S make -Run o comando make comando msys shell no make do projeto
Se você quiser construir o H5ASSEMBLER na janela
sudo apt-get update
sudo apt install make
sudo apt-get install flex bison
-Run o comando make make debian
O H5ASSEMBLER oferece uma tecnologia que permite reduzir seu código HTML e garante uma integração fácil em estruturas como (Laravel, Django)
NavBar.html
< nav >
< a href ="" > mikle </ a >
< a href ="" > jordan </ a >
< a href ="" > taba </ a >
</ nav >index.html
< html lang =" en " >
< head >
< meta charset =" UTF-8 " >
< meta http-equiv =" X-UA-Compatible " content =" IE=edge " >
< meta name =" viewport " content =" width=device-width, initial-scale=1.0 " >
< link rel =" stylesheet " href =" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css " >
< title > simple include H5assembler </ title >
</ head >
< body >
@include("navbar.html")
</ body >
</ html > no mesmo diretório que o comando index.html run H5A index.html output.html . Este comando gerará um arquivo de saída.html com a seguinte saída de conteúdo.html
< html lang =" en " >
< head >
< meta charset =" UTF-8 " >
< meta http-equiv =" X-UA-Compatible " content =" IE=edge " >
< meta name =" viewport " content =" width=device-width, initial-scale=1.0 " >
< link rel =" stylesheet " href =" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css " >
< title > simple include H5assembler </ title >
</ head >
< body >
< nav >
< a href ="" > mikle </ a >
< a href ="" > jordan </ a >
< a href ="" > taba </ a >
</ nav >
</ body >
</ html > Para obter mais informações sobre o H5 usando leia a documentation