vue-onsenui

2.7.2 • Public • Published

Vue bindings for Onsen UI

Onsen UI Vue

With Onsen UI you can create beautiful and performant hybrid apps that run on both Android and iOS. This package contains Vue.js v2 bindings and components that make it easy to integrate the Onsen UI components in Vue apps.

For more information of what's included in Onsen UI please see:

Installation

Package Manager (npm, yarn)

npm install --save onsenui vue-onsenui

Direct download

Get onsenui.js, onsenui.css and onsenui-css-components.css from the latest core release. You will also need vue-onsenui.js file from this CDN link.

Including Vue.js and Onsen UI

ES6 imports and Webpack (with CSS imports)

import 'onsenui/css/onsenui.css';
import 'onsenui/css/onsen-css-components.css';

import Vue from 'vue';
import VueOnsen from 'vue-onsenui';

Vue.use(VueOnsen);

Direct include in index.html

<link rel="stylesheet" href="onsen-css-components.css">
<link rel="stylesheet" href="onsenui.css">

<script src="vue.js"></script>
<script src="onsenui.js"></script>
<script src="vue-onsenui.js"></script>

<!-- Vue.use(VueOnsen) is called automatically if window.Vue is defined -->

Examples - Running the development server

The examples are located under /bindings/vue/examples directory in the main repo.

You can serve these examples by running the development server. First you need to build the main repo. When that is done you can run the following commands from /bindings/vue/ directory:

npm install
npm run serve

This will open a development server with a kitchen sink app in localhost:8080.

Otherwise, have a look at the playground for online examples.

Support

If you need help using these bindings we recommend you to use our forum to ask questions. We also have a Discord chat.

If you find any bug or want to request features/API changes, please open an issue. Make sure to include all information necessary to reproduce it if you file a bug report.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.7.2
    89
    • latest
  • 2.7.1
    54
    • legacy

Version History

Package Sidebar

Install

npm i vue-onsenui

Homepage

onsen.io/

Weekly Downloads

671

Version

2.7.2

License

none

Unpacked Size

409 kB

Total Files

59

Last publish

Collaborators

  • asial-hirose
  • atakuya
  • yongsopheaktra
  • asialgearoid
  • masahirotanaka
  • onsenui-user
  • emccorson
  • asial-matagawa
  • knight9999