Snippet for Emmet in Sublime Text
Opened this issue · 0 comments
mzaini30 commented
This is Emmet preferences in Sublime Text:
{
"telemetry": true,
"uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
+ "config": {
+ "markup": {
+ "snippets": {
+ "attach": "{@attach()}",
+ "import": "{@import()}",
+ "layout": "{@layout()\n\n@section()\n\t\n@endsection}",
+ "section": "{@section()\n\t\n@endsection}",
+ "component": "{@component()\n\t@slot()\n\t\t\n\t@endslot\n@endcomponent}",
+ "slot": "{@slot()\n\t\n@endslot}"
+ }
+ }
+ }
}
Example:
- Write
layout
- Enter
- Become:
@layout()
@section()
@endsection