feat: Add translation populating procedure for the web interface.

This commit is contained in:
Terry Geng
2020-07-12 14:29:50 +08:00
parent 9f2c4a2afd
commit 97309599f1
12 changed files with 239 additions and 110 deletions

View File

@ -29,13 +29,13 @@ module.exports = {
filename: 'static/css/[name].css',
}),
new HtmlWebpackPlugin({
filename: 'templates/index.html',
template: './templates/index.html',
filename: 'templates/index.template.html',
template: './templates/index.template.html',
inject: false,
}),
new HtmlWebpackPlugin({
filename: 'templates/need_token.html',
template: './templates/need_token.html',
filename: 'templates/need_token.template.html',
template: './templates/need_token.template.html',
inject: false,
}),
],