0.4.17 • Published 5 years ago

vue-phone-preview v0.4.17

Weekly downloads
48
License
MIT
Repository
github
Last release
5 years ago

vue-phone-preview

适用于pc端后台管理系统手机预览

A VueCli3.x+TypeScript Toolkit for Web.

demo

Demo pictures

Install

$ npm i --save vue-phone-preview
or
$ yarn add vue-phone-preview

Quick Start

import Vue from 'vue'
import VuePhonePreview from 'vue-phone-preview';

Vue.use(VuePhonePreview)
@Component()
// or
import VuePhonePreview from 'vue-phone-preview'

@Component({
  components: {
    VuePhonePreview
  }
})

/**
 * 使用方法 
 * ①、如果使用第一种方法,从其他微信编辑器(135或者word文档等等)
 * 需要先把图片上传至第三方图片服务器,然后获取图片链接复制到文档里
 * 例如:private content = '<img src="http://file.haoxinqing.cn/group1/M00/11/61/Chw4wFwAlz2AX_iqAABOSgaernE854.jpg" style=" max-width: 100%; height: auto;">'
 * ②、就是iframe的形式,导入的是一个m端链接
 */ 
①、<vue-phone-preview :content="content"></vue-phone-preview>
②、<vue-phone-preview :url="`https://mp.haoxinqing.cn`"></vue-phone-preview>

LICENSE

MIT

Copyright (c) 2019-present, YuBin

0.4.17

5 years ago

0.4.16

5 years ago

0.4.15

5 years ago

0.4.14

5 years ago

0.4.13

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.10

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago