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