Skip to content

hejianxian/framework7-webpack-demo

Repository files navigation

framework7-webpack-demo

A demo project for using Framework7 with Webpack3.0 via Babel!

Online Demo

Dependencies

Template

We have a base webpack-framework7 template, you can use WorkPlus-cli to get it.

[sudo] npm install -g workplus-cli

workplus start webpack-framework7 my-project

Download

git clone https://github.com/hejianxian/framework7-webpack-demo.git

cd framework7-webpack-demo

npm install

Or you can use Yarn.

Dev

npm run dev

If need proxy, you can use devserver-proxy to enable proxying.

Just like:

proxy: {
  "/api": "http://localhost:8081"
}

Some config setting, you can find in ./build/config.js:

module.exports = {
  dev: {
    host: 'localhost',
    port: 8080,
    proxy: {
      "/api": "http://localhost:3000"
    }
  }
}

Build

npm run build

LICENSE

MIT @Hejx

About

🍄 A demo project for using Framework7 with Webpack3.0 via Babel!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published