09 2017 档案

摘要:引入Vue import Vue from "vue"; 1.全局组件注册 Vue.component("my-header",{//注册全局组件template:'<p>这是一首歌</p>'}); new Vue({ el:"#app", data:{ } }) 直接在html页面引入<my-he 阅读全文
posted @ 2017-09-27 10:40 ZBB0304 阅读(209) 评论(0) 推荐(0)
摘要:1.下载node.js安装 https://nodejs.org/en/download/ 2.利用淘宝npm镜像安装相关依赖 在cmd里直接输入:npm install -g cnpm –registry=https://registry.npm.taobao.org,回车,等待安装... 3.安 阅读全文
posted @ 2017-09-19 09:22 ZBB0304 阅读(167) 评论(0) 推荐(0)
摘要:<!doctype html> <html> <head> <meta charset="utf-8"> <title>Lazy Load Enabled</title> <!--[if lt IE 9]> <script src="html5shiv.js"></script> <![endif] 阅读全文
posted @ 2017-09-18 14:02 ZBB0304 阅读(138) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #pbox{ width: 100%; height:100%; } #box{ width: 200px; heigh 阅读全文
posted @ 2017-09-08 08:55 ZBB0304 阅读(345) 评论(3) 推荐(0)
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { margin: 0; padding: 0; } .box { width: 350px; height: 350px; 阅读全文
posted @ 2017-09-08 08:54 ZBB0304 阅读(484) 评论(0) 推荐(0)