Closed ismail-codar closed 6 years ago
I found another option.. Like this:
const myView = h([require("./my.html")]);
This time, html syntax highlighting and autocomplete works on my editor.
If the plugin can't configure name of the function, you can use named import:
import html from 'stage0'
html`<div></div>`
There are no restrictions for that from library.
If we rename h function with html we can use directly https://github.com/mjbvz/vscode-lit-html in VSCode for syntax highlighting.