Unify vue template design

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-06-19 06:26:57 +02:00 committed by Morris Jobke
parent 790c897d98
commit 4ed8ee1c1e
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
14 changed files with 16 additions and 16 deletions

View File

@ -24,8 +24,8 @@ watch-js:
npm run watch npm run watch
clean: clean:
rm -f js/merged.js rm -f js/$(app_name).js
rm -f js/merged.js.map rm -f js/$(app_name).js.map
rm -rf $(build_dir) rm -rf $(build_dir)
clean-dev: clean-dev:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "notifications", "name": "notifications",
"version": "2.3.0", "version": "2.4.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "notifications", "name": "notifications",
"version": "2.3.0", "version": "2.4.0",
"description": "This app provides a backend and frontend for the notification API available in Nextcloud.", "description": "This app provides a backend and frontend for the notification API available in Nextcloud.",
"main": "init.js", "main": "init.js",
"directories": { "directories": {
@ -8,9 +8,9 @@
"test": "tests" "test": "tests"
}, },
"scripts": { "scripts": {
"dev": "webpack --config js-src/webpack.dev.js", "dev": "webpack --config webpack.dev.js",
"watch": "webpack --progress --watch --config js-src/webpack.dev.js", "watch": "webpack --progress --watch --config webpack.dev.js",
"build": "webpack --progress --hide-modules --config js-src/webpack.prod.js" "build": "webpack --progress --hide-modules --config webpack.prod.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -8,7 +8,7 @@ declare(strict_types=1);
* This file is licensed under the Affero General Public License version 3 or * This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file. * later. See the COPYING file.
*/ */
script('updatenotification', 'merged'); script('updatenotification', 'updatenotification');
style('updatenotification', 'admin'); style('updatenotification', 'admin');
/** @var array $_ */ /** @var array $_ */
?> ?>

View File

@ -2,11 +2,11 @@ const path = require('path')
const { VueLoaderPlugin } = require('vue-loader'); const { VueLoaderPlugin } = require('vue-loader');
module.exports = { module.exports = {
entry: './js-src/init.js', entry: path.join(__dirname, 'src', 'init.js'),
output: { output: {
path: path.resolve(__dirname, '../js'), path: path.resolve(__dirname, './js'),
publicPath: '/', publicPath: '/js/',
filename: 'merged.js' filename: 'updatenotification.js'
}, },
module: { module: {
rules: [ rules: [