Vue-lic Tool Building Vue-webpack Project

Source: Internet
Author: User

1. Install the node environment (NPM will be installed automatically when node is installed)

Reference official website: https://nodejs.org/en/download/

2. Installing Vue's Scaffolding tool vue-cli

// Global Install NPM i vue-cli-g

3. Initialize the Webpack project with VUE-CLI (CMD is used here, you can select options)

Vue Init webpack test-project//test-project (project name)

option to choose for yourself
? Project name Test-project//Project Name? Project Description A Test forVue-lic and Webpack Program//Project Description? Author Bek//author? Vue Build Standalone//Select Run + compiler? Install Vue-router? Yes//Routing? Use ESLint to lint your code? Yes//Code Validation Tool?Pick an ESLint preset standard? Set Up Unit tests Yes//Test? Pick a test Runner karma//Select Karma? Setup e2e Tests withNightwatch? Yes//Select Nightwatch? Should we run ' npm install ' forDo you have been created after the project? (recommended) NPM

4. Enter the project and install the response installation package

// Enter Project CD test-project/  Install response installation package NPM I

5. Running

NPM Run Dev

6. Package Online

NPM Run Build

  Dist content is packaged successfully

Vue-lic Tool Building Vue-webpack Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.