A vue based microfrontend. Pending : Need to move vue dependencies to the static content server. will do it later.
npm install
npm run serve
npm run build
npm run lint
Config for setting up manifest file for vue and allowing cors requests in to it (similar to asset-manifest.json file in react) - in vue.config.js - create it if it does not exist
const WebpackAssetsManifest = require('webpack-assets-manifest')
module.exports = {
// ...your other modifications,
configureWebpack: config => {
config.plugins = config.plugins.concat(
new WebpackAssetsManifest({
output: 'asset-manifest.json'
})
)
config.devServer = {
headers: { "Access-Control-Allow-Origin": "*" }
}
}
}