代码之家  ›  专栏  ›  技术社区  ›  Notbad

使用Vue cli 3.x基于Web包简单模板创建Vue应用程序

  •  0
  • Notbad  · 技术社区  · 6 年前

    我正在一个网站上学习如何创建SPA。在某种程度上,它指示以这种方式初始化Vue应用程序:

    vue init webpack-simple my-project
    

    vue create my-project
    

    1 回复  |  直到 6 年前
        1
  •  2
  •   Vamsi Krishna    6 年前

    init

    npm install -g @vue/cli-init
    # vue init now works exactly the same as vue-cli@2.x
    vue init webpack-simple my-project
    

    Pulling 2.x template

    vue.config.js