Skip to content

使用Vite创建项目

  • bash npm init vue@latest

  • 默认不会安装依赖,按照以下步骤安装依赖:

    • cd your_filefolder
    • npm install

vite项目

  • 如何运行?

    • npm run dev
  • vite的优点:

    • 打包效率非常高