All Projects → juliandavidmr → vue-frame

juliandavidmr / vue-frame

Licence: MIT license
Dynamic component for creation of interfaces with iframes

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-frame

vue3-docs
vue中文社区,vue3 中文文档
Stars: ✭ 180 (+282.98%)
Mutual labels:  vue-components
vue-link
One component to link them all 🔗
Stars: ✭ 65 (+38.3%)
Mutual labels:  vue-components
vue-masonry-gallery
Masonry gallery layout component for Vue.js
Stars: ✭ 35 (-25.53%)
Mutual labels:  vue-components
vectre
Most complete implementation of Spectre.css on Vue.js
Stars: ✭ 63 (+34.04%)
Mutual labels:  vue-components
cuida
A design system built by Sysvale, using storybook and Vue components
Stars: ✭ 16 (-65.96%)
Mutual labels:  vue-components
vue-today
📅 Today is cute
Stars: ✭ 37 (-21.28%)
Mutual labels:  vue-components
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (+170.21%)
Mutual labels:  vue-components
nuxewind
Free Vue JS (Nuxt 2) Tailwind Admin Dashboard Template
Stars: ✭ 62 (+31.91%)
Mutual labels:  vue-components
fect
Minimalist UI components built on Vue-next
Stars: ✭ 352 (+648.94%)
Mutual labels:  vue-components
v-intl
Add i18n to your awesome Vue 3 app 🔉
Stars: ✭ 13 (-72.34%)
Mutual labels:  vue-components
vue-mui
Mobile UI elements for Vue 2.0
Stars: ✭ 16 (-65.96%)
Mutual labels:  vue-components
vue-authoring-template
Vue project template for authoring component and their use case
Stars: ✭ 14 (-70.21%)
Mutual labels:  vue-components
hawkvuemdframework
Vue material Framework. Lightweight components for vuejs 2.x.
Stars: ✭ 15 (-68.09%)
Mutual labels:  vue-components
Oasis
🍃 UI framework based on [email protected]. (English document is coming soon)
Stars: ✭ 29 (-38.3%)
Mutual labels:  vue-components
v-markdown-editor
Vue.js Markdown Editor component
Stars: ✭ 101 (+114.89%)
Mutual labels:  vue-components
vue-hooks-form
Building forms with vue composition API.
Stars: ✭ 131 (+178.72%)
Mutual labels:  vue-components
vue-date-range-picker
A vue component using Bootstrap 4 styles for date range selection
Stars: ✭ 30 (-36.17%)
Mutual labels:  vue-components
vue-datatables
No description or website provided.
Stars: ✭ 22 (-53.19%)
Mutual labels:  vue-components
vueface
UI Components for Vue
Stars: ✭ 74 (+57.45%)
Mutual labels:  vue-components
vue-component-creater-ui
拖拽式Vue组件代码生成编辑器(VCC)
Stars: ✭ 383 (+714.89%)
Mutual labels:  vue-components

Vue-frame

Build Status npm version npm GitHub stars

A simple component Vue 2.x for prototyping interfaces with iframes.

Install

Using npm:

npm install --save vue-frame

Using yarn:

yarn add vue-frame

Import

import VueFrame from 'vue-frame'
export default {
  components: { VueFrame },
  data () {
    return { /*...*/ }
  },
  methods: { /*...*/ }
}

Usage

This is a project for vue.

<div id="vue-frame">
   <vue-frame text="VueJS" url="https://vuejs.org" frame="myframe" type="button" class="form-control"></vue-frame>
   <vue-frame text="Api Vue" url="https://vuejs.org/v2/api" frame="myframe" type="a"></vue-frame>
   <br />

   <iframe id="myframe" width="800"></iframe>
</div>

<script src="/dist/vue-frame.js"></script>

The rendered elements look like this:

CURRENTLY RECORDING

PropTypes

Prop Desc Type Default Is Required
class Custom class to add to the component string
url Custom url that the component will load string
text Custom text string
frame Iframe element ID string
type Name of the HTML tag to render string a
default load site instantly mount the element boolean false

Example

<vue-frame text="VueJS" url="https://juliandavidmr.github.io" frame="idframe" type="div" class="form-control"></vue-frame>

Use CDN

<script src="https://unpkg.com/[email protected]/dist/vue-frame.js"></script>

See example with cdn index.html

Development

Command Description
npm run build Build
npm run dev Open browser dev

Contributing

License

MIT @juliandavidmr

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].