Commit 5bd0d131 authored by 郭志伟's avatar 郭志伟

"style: 语法检查"

parent 5cd9ee86
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
"amfe-flexible": "^2.2.1", "amfe-flexible": "^2.2.1",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"normalize.css": "^8.0.1",
"vconsole": "^3.3.4", "vconsole": "^3.3.4",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
......
<template> <template>
<div id="app"> <div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<router-view /> <router-view />
</div> </div>
</template> </template>
<style lang="less"> <style lang="less">
#app { #app {
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: -apple-system, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
#nav {
padding: 30px;
a {
font-weight: bold;
color: #2c3e50;
&.router-link-exact-active {
color: #42b983;
}
}
} }
</style> </style>
...@@ -2,7 +2,7 @@ import Vue from "vue"; ...@@ -2,7 +2,7 @@ import Vue from "vue";
import App from "./App.vue"; import App from "./App.vue";
import router from "./router"; import router from "./router";
import store from "./store"; import store from "./store";
import "normalize.css"; import "@qg/cherry-ui/src/style/normalize.css";
import "amfe-flexible"; import "amfe-flexible";
import vConsole from "vconsole"; import vConsole from "vconsole";
import "@/assets/icons/index"; import "@/assets/icons/index";
......
...@@ -17,6 +17,11 @@ const routes = [ ...@@ -17,6 +17,11 @@ const routes = [
// this generates a separate chunk (about.[hash].js) for this route // this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited. // which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ "../views/About.vue") component: () => import(/* webpackChunkName: "about" */ "../views/About.vue")
},
{
path: "/goods",
name: "goods",
component: () => import(/* webpackChunkName: "about" */ "../views/Goods/index.vue")
} }
]; ];
......
<template>
<div>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Labore consequuntur deleniti
asperiores adipisci in voluptates ratione, totam hic dignissimos? Totam quaerat earum voluptatum
error delectus, nemo minus. Molestias, vitae impedit.
</div>
</template>
<script>
export default {
name: "GoodsList"
};
</script>
...@@ -5,7 +5,7 @@ const IS_PROD = process.env.NODE_ENV === "production"; ...@@ -5,7 +5,7 @@ const IS_PROD = process.env.NODE_ENV === "production";
module.exports = { module.exports = {
configureWebpack: { configureWebpack: {
externals: { externals: {
vue: 'Vue', vue: "Vue"
} }
}, },
chainWebpack: config => { chainWebpack: config => {
......
...@@ -820,17 +820,17 @@ ...@@ -820,17 +820,17 @@
lodash "^4.17.19" lodash "^4.17.19"
to-fast-properties "^2.0.0" to-fast-properties "^2.0.0"
"@better-scroll/core@^2.0.0-alpha.4": "@better-scroll/core@^2.0.0-beta.6":
version "2.0.0-alpha.4" version "2.0.0-beta.10"
resolved "http://npmprivate.quantgroups.com/@better-scroll%2fcore/-/core-2.0.0-alpha.4.tgz#b743aad98c089d1ec07c4d80ed7f815cac42c597" resolved "http://npmprivate.quantgroups.com/@better-scroll%2fcore/-/core-2.0.0-beta.10.tgz#d76eb4b11e599b4c5b91e64d496f630d74f1ad84"
integrity sha512-gJuXl8oBsBkYxmhN3XQTbaGxtSUjFxGFNVA4WKu0lWDNHx/5TyHiNmghshxpeVQIQgStkSH3LMSRwlr7NPGYpg== integrity sha512-rVnw+VNit+o4rU5tn8NzasMGvuFSQOrZIKttzaCC1KY+RgCYNRw3mcaCWjW06rWRXXaBIcV+AsiviKGRteJF2g==
dependencies: dependencies:
"@better-scroll/shared-utils" "^2.0.0-alpha.4" "@better-scroll/shared-utils" "^2.0.0-beta.10"
"@better-scroll/shared-utils@^2.0.0-alpha.4": "@better-scroll/shared-utils@^2.0.0-beta.10":
version "2.0.0-alpha.4" version "2.0.0-beta.10"
resolved "http://npmprivate.quantgroups.com/@better-scroll%2fshared-utils/-/shared-utils-2.0.0-alpha.4.tgz#8a8b691cc7dd1b18ac6390085f05e1dfa243f886" resolved "http://npmprivate.quantgroups.com/@better-scroll%2fshared-utils/-/shared-utils-2.0.0-beta.10.tgz#077a245926ddcdbf5493aeda6724e2bf3bebf42f"
integrity sha512-qw5TIowcn4wa2E+QEJ2OonffSbyNlX2hNlHp9nQu943+P2/10Ijjq/4L62rVIZ9NhnBN8fEVZxE//mLcf4ZK3g== integrity sha512-47JP+4Of++oD7V0oGhZ2adFRMydMAfcsz1Xp+gqeGpPwULWVpDUoFj5yZwz58MBoGmawZKw0diPyjPEvAGJ1cg==
"@hapi/address@2.x.x": "@hapi/address@2.x.x":
version "2.1.4" version "2.1.4"
...@@ -5813,11 +5813,6 @@ normalize-url@^3.0.0: ...@@ -5813,11 +5813,6 @@ normalize-url@^3.0.0:
resolved "http://npmprivate.quantgroups.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" resolved "http://npmprivate.quantgroups.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
normalize.css@^8.0.1:
version "8.0.1"
resolved "http://npmprivate.quantgroups.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3"
integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==
npm-run-path@^2.0.0: npm-run-path@^2.0.0:
version "2.0.2" version "2.0.2"
resolved "http://npmprivate.quantgroups.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" resolved "http://npmprivate.quantgroups.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment