vue相关

作者: 墨韵 | 来源:发表于2023-03-07 15:11 被阅读0次
    vue最新版本多少 Vue开发用什么软件 如何创建vue工程 npm安装
    # 通过nvm工具安装node和npm
    $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0
    curl: (56) LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out, errno 60
    $ ping -c 4 raw.githubusercontent.com
    $ ping -c 4 github.com
    $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
    $ source ~/.bash_profile
    $ nvm install node
    $ npm -v
    9.5.0
    # 升级npm
    $ npm install -g npm@9.6.0
    16 packages are looking for funding
      run `npm fund` for details
    # 创建工程
    $ npm install -g @vue/cli
    $ vue create my-project
    
    # 🎉  Successfully created project my-project.
    # 👉  Get started with the following commands:
     $ cd my-project
     $ npm run serve
    # App running at:
    #  - Local:   http://localhost:8080/ 
    #  - Network: http://192.168.13.14:8080/
    #
    #  Note that the development build is not optimized.
    #  To create a production build, run npm run build.
    

    相关文章

      网友评论

        本文标题:vue相关

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