Skip to content

A vue based microfrontend. Pending : Need to move vue dependencies to the static content server. will do it later.

Notifications You must be signed in to change notification settings

godaprojects-microfrontends/microfrontend3-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goda-vue

A vue based microfrontend. Pending : Need to move vue dependencies to the static content server. will do it later.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Config for manifest and cors

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": "*" }
            }
          
  }
}

About

A vue based microfrontend. Pending : Need to move vue dependencies to the static content server. will do it later.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published