From 44763576b1180c84b645fcd7017eceaeeeedb094 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 29 Jun 2021 18:46:37 +0000 Subject: Make emails Vuetiful Signed-off-by: Christopher Ng --- apps/settings/src/main-personal-info.js | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 apps/settings/src/main-personal-info.js (limited to 'apps/settings/src/main-personal-info.js') diff --git a/apps/settings/src/main-personal-info.js b/apps/settings/src/main-personal-info.js new file mode 100644 index 00000000000..8edbd29669f --- /dev/null +++ b/apps/settings/src/main-personal-info.js @@ -0,0 +1,38 @@ +/** + * @copyright 2021, Christopher Ng + * + * @author Christopher Ng + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +import Vue from 'vue' + +import logger from './logger' + +import EmailSection from './components/PersonalInfo/EmailSection/EmailSection' + +// eslint-disable-next-line camelcase +__webpack_nonce__ = btoa(OC.requestToken) + +Vue.prototype.t = t +Vue.prototype.logger = logger + +const View = Vue.extend(EmailSection) +export default new View({ + el: '#vue-emailsection', +}) -- cgit v1.2.3