8000 GitHub - lslcoded/meteor-vue-component at hot-reload
[go: up one dir, main page]

Skip to content

lslcoded/meteor-vue-component

 
 

Folders and files

< 8000 /tr>
NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue as a Meteor UI layer

This project is experimental.

This project contains new meteor packages to help build meteor apps with first-class vuejs integration as the ui layer.

Features

Currently supported and possible future features (in no particular order) are:

  • Declarative subscriptions and meteor reactive data
  • Single-file components (.vue) with basic support of <template>, <script> and <style> (with optional scoped attribute)
  • lang attribute on <style> in .vue files
  • Less official integration in .vue files
  • Apollo client integration
  • Auto register components with file name ending with .global.vue
  • Hot-reloading of components
  • Easy routing with vue-router out-of-the-box integration
  • Easy translation with vue i18n out-of-the-box integration
  • Sass official integration in .vue files
  • lang attribute on <template> in .vue files
  • Jade official integration in .vue file
  • Easy state management with vuex integration (needs discussion, suggestions welcomed)

Usage

New Meteor project

Open a terminal and type:

meteor create my-app
cd ./my-app
meteor remove blaze-html-templates
meteor add static-html akryum:vue akryum:vue-component
meteor

Example project

In the project directory:

meteor npm install
meteor

Meteor data integration

Declarative subscriptions and meteor reactive data

See Usage in akryum:vue package

Single-file component

It allows you to write your components in this format with hot-reloading support.

See Usage in arkyum:vue-component package

Apollo integration

Use apollo in your vue component!

See Installation & Usage in akryum:vue-apollo package

Get involved

This project is very much a work-in-progress, so your help will be greatly appreciated!
Feel free to contribute by opening a PR or an issue (but check before if the topic already exists).


LICENCE ISC - Created by Guillaume CHAU (@Akryum)

About

Vue first-class integration in Meteor

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.4%
  • Vue 17.4%
  • Other 0.2%
0