master
parent
1bd65de2d5
commit
089333a5bf
@ -1,54 +1,7 @@
|
||||
# myproject
|
||||
# 手把手教你用vue+node+mongodb搭建一个小商城
|
||||
|
||||
> A Vue.js project
|
||||
|
||||
## Build Setup
|
||||
|
||||
``` bash
|
||||
# install dependencies
|
||||
npm install
|
||||
|
||||
# serve with hot reload at localhost:8080
|
||||
npm run dev
|
||||
|
||||
# build for production with minification
|
||||
npm run build
|
||||
|
||||
# build for production and view the bundle analyzer report
|
||||
npm run build --report
|
||||
```
|
||||
|
||||
文本
|
||||
------
|
||||
# 普通文本
|
||||
这里是普通文本
|
||||
|
||||
# 单行文本
|
||||
这里是单行文本
|
||||
|
||||
# 换行
|
||||
直接回车不能换行,
|
||||
这样就可以换行了
|
||||
|
||||
# 文本块
|
||||
1、
|
||||
|
||||
这里是文本块
|
||||
这里是文本块
|
||||
这里是文本块
|
||||
|
||||
2、
|
||||
|
||||
```
|
||||
这里是文本块
|
||||
这里是文本块
|
||||
这里是文本块
|
||||
```
|
||||
|
||||
# 代码高亮
|
||||
```javascript
|
||||
document.getElementById('test').innerText="hello world";
|
||||
```
|
||||
|
||||
# 文字高亮
|
||||
`html` `css` `js`
|
||||
一、章节目录
|
||||
[1.前期准备工作][https://www.jianshu.com/p/0b91e9a05694]
|
||||
2.什么是动态路由
|
||||
3.什么是嵌套路由
|
||||
4.什么是编程式路由
|
@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div class="goods">
|
||||
This is goods
|
||||
<span>{{$route.query.goodsId}}</span>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<style scoped></style>
|
Loading…
Reference in New Issue