Переход на Vue 3
This commit is contained in:
@@ -5,11 +5,11 @@ const { VueLoaderPlugin } = require('vue-loader');
|
|||||||
const clientDir = path.resolve(__dirname, '../client');
|
const clientDir = path.resolve(__dirname, '../client');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
resolve: {
|
/*resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
vue: '@vue/compat'
|
vue: '@vue/compat'
|
||||||
}
|
}
|
||||||
},
|
},*/
|
||||||
entry: [`${clientDir}/main.js`],
|
entry: [`${clientDir}/main.js`],
|
||||||
output: {
|
output: {
|
||||||
publicPath: '/app/',
|
publicPath: '/app/',
|
||||||
@@ -20,16 +20,15 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
test: /\.vue$/,
|
test: /\.vue$/,
|
||||||
loader: 'vue-loader',
|
loader: 'vue-loader',
|
||||||
options: {
|
/*options: {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
compatConfig: {
|
compatConfig: {
|
||||||
MODE: 2
|
MODE: 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
//test: /\.includer$/,
|
|
||||||
resourceQuery: /^\?vue/,
|
resourceQuery: /^\?vue/,
|
||||||
use: path.resolve('build/includer.js')
|
use: path.resolve('build/includer.js')
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -912,7 +912,7 @@ class Reader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get activePage() {
|
get activePage() {
|
||||||
let result = '';
|
let result = undefined;
|
||||||
|
|
||||||
if (this.progressActive)
|
if (this.progressActive)
|
||||||
result = 'ProgressPage';
|
result = 'ProgressPage';
|
||||||
|
|||||||
Reference in New Issue
Block a user