Skip to content

A full-featured Webpack + weex-loader setup with hot reload, linting, testing & css extraction.

Notifications You must be signed in to change notification settings

weex-templates/webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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

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" scoped><style>.

How to create your own template

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

About

A full-featured Webpack + weex-loader setup with hot reload, linting, testing & css extraction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •