adi182 / weex-vue-router

Working test with Weex, Vue Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This boilerplate is targeted towards large, serious projects and assumes you are somewhat familiar with Webpack and weex-loader.

With added VueJS Router setup

Just run $ npm start

Quickstart

To use this template, scaffold a project with weexpack v1.1.1+.

$ npm install -g weex-toolkit
$ weex create my-project # default will create the webpack template
$ cd my-project && npm start

How to use less/sass/pug

Take sass for example:

$ npm i node-sass sass-loader --save

Then, you just need to change the style tag as: <style lang="sass"><style>.

How to create your own template

See How-to-create-your-own-template.

About

Working test with Weex, Vue Router


Languages

Language:JavaScript 90.6%Language:HTML 5.4%Language:CSS 2.9%Language:Vue 1.1%