src/clientVueLoader.js
// Compiles the template, applying the language, specified in the lang attribute, to its content.
Compiles the template, applying the language, specified in the lang attribute, to its content.
Compiles the template applying the language specified in the lang attribute to its content .
async compile() {
            const compiler = tagCompilers[this.tagName];
            if (!compiler) {
                throw new Error(`There isn't a compiler for tag <${this.tagName}>\n${this.element.outerHTML}`)
            }
            let result = null;
            if (this.langAttribute !== null) {
                result = await VueComponent.langProcessor[this.langAttribute].call(this);
            }
            this.result = await compiler(this, result);
        }
async compile ( ) { const compiler = tagCompilers [ this . tagName ] ; if ( ! compiler ) { throw new Error ( ` ${ this . tagName } \n ${ this . element . outerHTML } ` ) } let result = null ; if ( this . langAttribute !== null ) { result = await VueComponent . langProcessor [ this . langAttribute ] . call ( this ) ; } this . result = await compiler ( this , result ) ; }
Compiles the template, applying the language, specified in the lang attribute, to its content.
Compiles the template applying the language specified in the lang attribute to its content .
// Executes the language pre-processor.