美文网首页
配置vue前端框架

配置vue前端框架

作者: ljzza | 来源:发表于2023-07-28 15:45 被阅读0次

    windows+R cmd进入终端

    npm set registry https://registry.npm.taobao.org/

    npm config list

    cd进入要安装在文件夹

    npm init vue@latest

    Ok to proceed? (y) y
    Vue.js - The Progressive JavaScript Framework
    √ Project name: ... vue-project
    √ Add TypeScript? ... No
    √ Add JSX Support? ... No
    √ Add Vue Router for Single Page Application development? ... Yes
    √ Add Pinia for state management? ... Yes
    √ Add Vitest for Unit Testing? ... No
    √ Add an End-to-End Testing Solution? » No
    √ Add ESLint for code quality? ... No

    cd vue-project

    npm install

    npm run dev

    打开HBuilderX 添加vue-demo这个文件夹 运行 运行到终端 2 npm run dev 内置浏览器外置浏览器无所谓

    相关文章

      网友评论

          本文标题:配置vue前端框架

          本文链接:https://www.haomeiwen.com/subject/nywrpdtx.html