Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

从头构建一个Vue项目 #16

Copy link
Copy link

Description

@easyli
Issue body actions

安装webpack

npm install webpack -g 

查看版本

webpack -v

安装Vue.js

npm install -g vue-cli

查看版本

vue --version

创建Vue项目

vue init webpack es6

根据提示, 在命令行下输入和选择配置

安装 package.json 中模块

cd es6
npm install

运行项目

npm run dev 

运行后,浏览器打开 http://localhost:8080

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.