zoukankan      html  css  js  c++  java
  • vue-template-compiler作用

    vue-template-compiler的作用是什么:

     

     

     

    vue-template-compiler被vue-loader所引用:

     

     

     看起来 template-compiler是给parse函数使用的, 那么parse函数是干什么的呢

     

     

      

    先看一下parse的结果:

     

    结论:使用vue-template-compiler直接读取处理了.vue文件SFC内容,将.vue文件处理为一个AST。

  • 相关阅读:
    python模块----os
    shell脚本中给字符串添加颜色
    shell脚本的多线程
    Python读取xlsx文件
    修改docker出现中文字符出现乱码的问题
    Django基本命令
    C#排列数字组合方法
    SQL 参数化模糊查询
    iframe自适应高度
    Vue.js配合ajax绑定数据
  • 原文地址:https://www.cnblogs.com/eret9616/p/11817245.html
Copyright © 2011-2022 走看看