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。

  • 相关阅读:
    win10通过ip连接打印机
    tarunexpectedeofinarchive
    软件工程设计阶段的几种图
    代码review checklist
    caffeine的使用
    thetrustanchorsparametermustbenonempty
    mysql explain type的详解
    scp对拷贝文件夹
    虚拟dom与diff算法
    线程池ThreadPoolExecutor的使用
  • 原文地址:https://www.cnblogs.com/eret9616/p/11817245.html
Copyright © 2011-2022 走看看