Skip to content

Commit

Permalink
Add Vue
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Aug 17, 2018
1 parent 1ecf67c commit 0ff788a
Show file tree
Hide file tree
Showing 148 changed files with 10,522 additions and 16,182 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
30 changes: 30 additions & 0 deletions js/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<template>
<div id="content" class="app-mail">
<div id="app-navigation" class="icon-loading">
<div id="mail-new-message-fixed"
class="app-navigation-new">
</div>
<ul id="usergrouplist"></ul>
<div id="app-settings">
<div id="app-settings-header">
<button class="settings-button"
data-apps-slide-toggle="#app-settings-content"><?php p($l->
t('Settings'));?>
</button>
</div>
<div id="app-settings-content"></div>
</div>
</div>
<div id="app-content">
<div id="app-content-wrapper"></div>
</div>
</div>
</template>

<script>
export default {}
</script>

<style>
</style>
153 changes: 0 additions & 153 deletions js/app.js

This file was deleted.

57 changes: 0 additions & 57 deletions js/controller/accountcontroller.js

This file was deleted.

Loading

0 comments on commit 0ff788a

Please sign in to comment.