|
@@ -17,7 +17,8 @@ module.exports = defineConfig({
|
|
plugins: [
|
|
plugins: [
|
|
new webpack.ProvidePlugin({
|
|
new webpack.ProvidePlugin({
|
|
// utils: ['/src/utils.js', 'default']
|
|
// utils: ['/src/utils.js', 'default']
|
|
- // mapGetters: ['vuex', 'mapGetters']
|
|
|
|
|
|
+ globalMapState: ['vuex', 'mapState'],
|
|
|
|
+ globalMapMutations: ['vuex', 'mapMutations'],
|
|
globalConfig: ['/src/config.js', 'default'],
|
|
globalConfig: ['/src/config.js', 'default'],
|
|
globalApi: ['/src/api.js', 'default'],
|
|
globalApi: ['/src/api.js', 'default'],
|
|
globalUtils: ['/src/utils.js', 'default'],
|
|
globalUtils: ['/src/utils.js', 'default'],
|