zoukankan      html  css  js  c++  java
  • vue学习记录

    npm install -g cnpm --registry=http://registry.npm.taobao.org

    npm install -g vue-cli
    cnpm install -g vue-cli

    --配置淘宝镜像
    npm config set registry http://registry.npm.taobao.org

    --npm镜像安装
    npm install -gd express --registry=http://registry.npm.taobao.org

    --全局安装位置
    npm root -g
    (C:UsersAdministrator.MicroWin10-1848AppDataRoaming pm ode_modules)

    --配置初始化
    npm init -f

    --运行
    npm run dev

    --创建工程
    vue init webpack test1

    D: estcli>vue init webpack test1

    D: estcli>"node" "C:UsersAdministrator.MicroWin10-1848AppDataRoaming pm\node_modulesvue-cliinvue" init webpack test1

    ? Target directory exists. Continue? Yes
    ? Project name test1
    ? Project description A Vue.js project
    ? Author
    ? Vue build standalone
    ? Install vue-router? Yes
    ? Use ESLint to lint your code? No
    ? Set up unit tests Yes
    ? Pick a test runner jest
    ? Setup e2e tests with Nightwatch? Yes
    ? Should we run `npm install` for you after the project has been created? (recommended) npm

    vue-cli · Generated "test1".


    # Installing project dependencies ...

  • 相关阅读:
    PHP CI分页类带多个参数
    PHP oracle分页
    PHP 防范IP攻击
    PHP 防范CC攻击
    PHP 防范xss攻击
    html input
    弹框样式
    php最快捷的插入数据,3000万仅需5秒
    phpcms 后台分页
    phpcms 用phpexcel导入导出excel
  • 原文地址:https://www.cnblogs.com/edrp/p/11452942.html
Copyright © 2011-2022 走看看