More stuff
This commit is contained in:
parent
3369ee6939
commit
d45a5bd9d0
5 changed files with 51 additions and 5 deletions
|
@ -32,7 +32,8 @@
|
||||||
"vue-nprogress": "^0.2.0",
|
"vue-nprogress": "^0.2.0",
|
||||||
"vue-router": "^3.2.0",
|
"vue-router": "^3.2.0",
|
||||||
"vue-socket.io": "^3.0.10",
|
"vue-socket.io": "^3.0.10",
|
||||||
"vuex": "^3.4.0"
|
"vuex": "^3.4.0",
|
||||||
|
"webpack-auto-inject-version": "^1.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@intlify/vue-i18n-loader": "^1.0.0",
|
"@intlify/vue-i18n-loader": "^1.0.0",
|
||||||
|
|
|
@ -318,7 +318,8 @@
|
||||||
"login": "Login"
|
"login": "Login"
|
||||||
},
|
},
|
||||||
"info": {
|
"info": {
|
||||||
"description": "Your chosen description:"
|
"description": "Your chosen description:",
|
||||||
|
"placeholder": "Say something interesting about yourself."
|
||||||
},
|
},
|
||||||
"customize": {
|
"customize": {
|
||||||
"light": "Light",
|
"light": "Light",
|
||||||
|
|
|
@ -53,10 +53,10 @@
|
||||||
required>
|
required>
|
||||||
</b-input>
|
</b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
<b-checkbox v-model="register.agree">{{$t('register.agree')}} <router-link @click="registerModal = false " to="/legal/tos">{{$t('tos')}}</router-link></b-checkbox>
|
<b-checkbox v-model="register.init.agree">{{$t('register.agree')}} <router-link to="/legal/tos">{{$t('tos')}}</router-link></b-checkbox>
|
||||||
<br>
|
<br>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<b-button class="is-info" @click="doInit" :loading="register.init.loading">{{$t('guided.registration.continue')}}</b-button>
|
<b-button :disabled="!register.init.agree" class="is-info" @click="doInit" :loading="register.init.loading">{{$t('guided.registration.continue')}}</b-button>
|
||||||
<b-button>{{$t('guided.registration.init.login')}}</b-button>
|
<b-button>{{$t('guided.registration.init.login')}}</b-button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<form>
|
<form>
|
||||||
<h2 class="subtitle has-text-centered">{{ $t('guided.registration.info.description') }}</h2>
|
<h2 class="subtitle has-text-centered">{{ $t('guided.registration.info.description') }}</h2>
|
||||||
<b-input v-model="register.personal.description" maxlength="256" type="textarea"></b-input>
|
<b-input v-model="register.personal.description" :placeholder="$t('guided.registration.info.placeholder')" maxlength="256" type="textarea"></b-input>
|
||||||
<b-button class="is-info" @click="doInfo()" :loading="register.personal.loading">{{$t('guided.registration.continue')}}</b-button>
|
<b-button class="is-info" @click="doInfo()" :loading="register.personal.loading">{{$t('guided.registration.continue')}}</b-button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
39
webpack.conf.js
Normal file
39
webpack.conf.js
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
var WebpackAutoInject = require('webpack-auto-inject-version');
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
plugins: [
|
||||||
|
new WebpackAutoInject({
|
||||||
|
// specify the name of the tag in the outputed files eg
|
||||||
|
// bundle.js: [SHORT] Version: 0.13.36 ...
|
||||||
|
SHORT: 'Version: 1.0.0-prerelease5',
|
||||||
|
SILENT: false,
|
||||||
|
PACKAGE_JSON_PATH: './package.json',
|
||||||
|
PACKAGE_JSON_INDENT: 4,
|
||||||
|
components: {
|
||||||
|
AutoIncreaseVersion: true,
|
||||||
|
InjectAsComment: true,
|
||||||
|
InjectByTag: true
|
||||||
|
},
|
||||||
|
componentsOptions: {
|
||||||
|
AutoIncreaseVersion: {
|
||||||
|
runInWatchMode: false // it will increase version with every single build!
|
||||||
|
},
|
||||||
|
InjectAsComment: {
|
||||||
|
tag: 'Version: {version} - {date}',
|
||||||
|
dateFormat: 'h:MM:ss TT', // change timezone: `UTC:h:MM:ss` or `GMT:h:MM:ss`
|
||||||
|
multiLineCommentType: false, // use `/** */` instead of `//` as comment block
|
||||||
|
},
|
||||||
|
InjectByTag: {
|
||||||
|
fileRegex: /\.+/,
|
||||||
|
// regexp to find [AIV] tag inside html, if you tag contains unallowed characters you can adjust the regex
|
||||||
|
// but also you can change [AIV] tag to anything you want
|
||||||
|
AIVTagRegexp: /(\[AIV])(([a-zA-Z{} ,:;!()_@\-"'\\\/])+)(\[\/AIV])/g,
|
||||||
|
dateFormat: 'h:MM:ss TT'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
LOGS_TEXT: {
|
||||||
|
AIS_START: 'DEMO AIV started'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
]
|
||||||
|
}
|
|
@ -11729,6 +11729,11 @@ wcwidth@^1.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
defaults "^1.0.3"
|
defaults "^1.0.3"
|
||||||
|
|
||||||
|
webpack-auto-inject-version@^1.2.2:
|
||||||
|
version "1.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/webpack-auto-inject-version/-/webpack-auto-inject-version-1.2.2.tgz#8fa15f6ea7c4a2a4adcdc5d8b1dc47693dddc971"
|
||||||
|
integrity sha512-duFSWzZe/OY8zyr2DpymzZeY8yI1RSZ9hu9wDwZy/fhxwntgpEzTwyIB/U7ig+FB26mif8xx5zS1E3Co9c5cYA==
|
||||||
|
|
||||||
webpack-bundle-analyzer@^3.8.0:
|
webpack-bundle-analyzer@^3.8.0:
|
||||||
version "3.9.0"
|
version "3.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz#f6f94db108fb574e415ad313de41a2707d33ef3c"
|
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz#f6f94db108fb574e415ad313de41a2707d33ef3c"
|
||||||
|
|
Loading…
Reference in a new issue