##### vue1 是在html中直接加入 <script src="https://unpkg.com/vue"></script> 然后进行简单开发
### vue-cli常用的命令
#### 关于安装
#### 关于新建项目
##### vue init webpack demo1
##### cd demo1
##### npm install 或者 npm i
##### npm run dev
##### npm build
##### demo1 介绍了Conponet组件的嵌套使用,将components目录下的组件嵌套到App.vue下使用
##### demo2 介绍路由的使用 【可以创建项目的时候选用vue-router也可以后期通过npm install vue-router添加路由,并在main.js中引入】
##### demo3 介绍路由的使用【扩展了路由的使用】
##### demo4 没有使用路由,vue组件之间的嵌套,页面头,页面,和页面脚
##### demo5 介绍路由的使用 【一级路由,二级路由,三级路由】
##### demo6 在线翻译的demo【Vue Resource的使用,用过套件的使用,页面之间值的传递,cnpm install vue-resource,在main.js中引用import VueResource from 'vue-resource'并进行使用Vue.use(VueResource)】
##### demo7 套间的路由
### Vue内容
<!--1 模版: html结构-->
<template>
<div id="app">
</div>
</template>
<!--2 行为: 处理逻辑-->
<script>
export default {
}
</script>
<!--3 样式:解决样式-->
<style>
</style>
没有合适的资源?快使用搜索试试~ 我知道了~
Vue 将一个组件嵌入到另一个组件中
共449个文件
js:162个
vue:142个
png:33个
需积分: 49 2 下载量 94 浏览量
2021-10-27
16:12:00
上传
评论
收藏 6.16MB ZIP 举报
温馨提示
7个例子,不同的嵌套方法,供初学者学习
资源推荐
资源详情
资源评论
收起资源包目录
Vue 将一个组件嵌入到另一个组件中 (449个子文件)
.babelrc 312B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 230B
.babelrc 74B
styles.css 409B
styles.css 409B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.editorconfig 147B
.eslintignore 30B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 154B
.gitignore 145B
.gitignore 127B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
index.html 899B
index.html 855B
index.html 807B
index.html 807B
index.html 524B
index.html 520B
index.html 499B
index.html 349B
index.html 271B
index.html 267B
index.html 267B
index.html 267B
index.html 267B
index.html 213B
index.html 207B
init.jpeg 90KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
wechat_pay.JPG 189KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 5KB
webpack.prod.conf.js 4KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
webpack.dev.conf.js 3KB
共 449 条
- 1
- 2
- 3
- 4
- 5
资源评论
11小猪会飞11
- 粉丝: 133
- 资源: 82
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功