@reframe/vue
v0.3.2
Published
Use Reframe with Vue.
Readme
Reframe + Vue = :heart:
@reframe/vue
Use Reframe with Vue.
Usage
Add @reframe/vue to your reframe.config.js:
module.exports = {
$plugins: [
require('@reframe/react-kit'),
require('@reframe/vue') // npm install @reframe/vue
],
};Example
// /plugins/vue/example/reframe.config.js
module.exports = {
$plugins: [
require('@reframe/react-kit'),
require('@reframe/vue') // npm install @reframe/vue
],
};// /plugins/vue/example/pages/vue-welcome.config.js
import Vue from 'vue';
const app = new Vue({
render: createElement => createElement('div', 'Hello from Vue'),
});
export default {
route: '/',
view: app,
};