Vue Combat II

Source: Internet
Author: User

VUE Project Combat 2

-----------------------------------------------


<template>
<div id= "App" >
<!--<loading v-show= "Loading" ></loading>-
<router-view></router-view>
<!--<navbottomview v-show= "Shownav" ></NavBottomView>-
<NavBottomView></NavBottomView>
</div>
</template>

<template> can only have one child element <div id= "App" >

-----------------------------------------------


59:13


-----------------------------------------------


Record a pit: app development picture Naming if you use the underline there may be some phones that don't show up

Picture lazy loading

-----------------------------------------------


Module build failed:Error:Couldn ' t find preset "env" relative to Directory "F: \\VUE Project \\vue Combat 2"

Cause of Error:

The ENV option is set in the. babelrc file, which requires babel-preset-env

NPM Install babel-preset-env--save-dev Dependency Introduction

1.CNPM Install babel-preset-env--save-dev

2.

Module build failed:Error:Couldn ' t find preset "stage-3" relative to Directory


NPM Install Cnpm-g--registry=https://registry.npm.taobao.org

Babel-preset-stage-3


NPM Install--save-dev babel-preset-stage-3


"Devdependencies": {

"Babel-preset-stage-3": "^6.24.1",


------------------------------------------------

If the port is occupied the end process can be selected with

CTRL + C

------------------------------------------------


Two fewer in the whole day.

1.CNPM Install babel-preset-env--save-dev


2.NPM Install--save-dev babel-preset-stage-3

Focus!!!

Vue Combat II

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.