Переход на Vue 3
This commit is contained in:
@@ -8,10 +8,6 @@ module.exports = {
|
||||
resolve: {
|
||||
alias: {
|
||||
vue: '@vue/compat'
|
||||
},
|
||||
fallback: {
|
||||
"url": false,
|
||||
"path": false,
|
||||
}
|
||||
},
|
||||
entry: [`${clientDir}/main.js`],
|
||||
@@ -23,7 +19,7 @@ module.exports = {
|
||||
rules: [
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: "vue-loader",
|
||||
loader: 'vue-loader',
|
||||
options: {
|
||||
compilerOptions: {
|
||||
compatConfig: {
|
||||
@@ -33,7 +29,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.includer$/,
|
||||
//test: /\.includer$/,
|
||||
resourceQuery: /^\?vue/,
|
||||
use: path.resolve('build/includer.js')
|
||||
},
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
import vueComponent from '../../vueComponent.js';
|
||||
|
||||
import path from 'path';
|
||||
import path from 'path-browserify';
|
||||
//import _ from 'lodash';
|
||||
|
||||
import * as utils from '../../../share/utils';
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -7831,12 +7831,12 @@
|
||||
}
|
||||
},
|
||||
"vuex-persistedstate": {
|
||||
"version": "2.7.1",
|
||||
"resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-2.7.1.tgz",
|
||||
"integrity": "sha512-Ktvp6Bt6ApYj35MuxTClu+9Lpukcgl3Z/0o4PU12+Z4jU6lyOMzos0k6zGT5xrukAkGM1VV3EYNwz1TnHPhgFA==",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-4.1.0.tgz",
|
||||
"integrity": "sha512-3SkEj4NqwM69ikJdFVw6gObeB0NHyspRYMYkR/EbhR0hbvAKyR5gksVhtAfY1UYuWUOCCA0QNGwv9pOwdj+XUQ==",
|
||||
"requires": {
|
||||
"deepmerge": "^4.2.2",
|
||||
"shvl": "^2.0.0"
|
||||
"shvl": "^2.0.3"
|
||||
}
|
||||
},
|
||||
"watchpack": {
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
"vue": "^3.1.0",
|
||||
"vue-router": "^4.0.12",
|
||||
"vuex": "^4.0.2",
|
||||
"vuex-persistedstate": "^2.7.1",
|
||||
"vuex-persistedstate": "^4.1.0",
|
||||
"webdav": "^4.7.0",
|
||||
"ws": "^8.2.3",
|
||||
"zip-stream": "^4.1.0"
|
||||
|
||||
Reference in New Issue
Block a user