1.0.14 • Published 3 years ago

@campbell/vueapps v1.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Documentation

WARNING: loaders using cwd might need to be configured manually (we already patch babel-loader and eslint-loader)

Usage

The build plugin will look for dirs ending with .vueapp in the public directory and automatically register vueapps with corresponding path

// campbell.config.js
module.exports = {
  presets: [require("@campbell/vueapps/build/preset")],
  vueapps: {
    // here you can add vueapps manually
    apps: [
      {
        src: path.resolve(__dirname, "./vueapps/test-app"),
        route: "/vueapps/test"
      }
    ]
  }
};

you can add a vueapp.config.js file in your app's root dir :

module.exports = {
  historyApiFallback: true // default : false
};

WARNING: HMR not working with historyApiFallback

2.0.0-beta.3

3 years ago

2.0.0-beta.2

3 years ago

2.0.0-beta.1

3 years ago

2.0.0-beta.0

3 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.10

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago