Phyks (Lucas Verney) 3 years ago
parent
commit
f07e882846
5 changed files with 45 additions and 8 deletions
  1. 21
    0
      LICENSE
  2. 16
    0
      README.md
  3. 6
    6
      app/index.js
  4. 1
    1
      app/routes.js
  5. 1
    1
      webpack.config.js

+ 21
- 0
LICENSE View File

@@ -0,0 +1,21 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2016 Phyks(Lucas Verney)
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 16
- 0
README.md View File

@@ -0,0 +1,16 @@
1
+Cozy-RSVP
2
+=========
3
+
4
+This [Cozy](https://cozy.io/fr/) app is meant to be a drop-in replacement
5
+for [Calendly](http://calendly.com/) and similar services.
6
+
7
+
8
+## Building the app
9
+
10
+Just run `npm run build:dev` (or `npm run build:prod`). Use `npm run lint` to
11
+check linting.
12
+
13
+
14
+## License
15
+
16
+This code is under MIT license.

+ 6
- 6
app/index.js View File

@@ -16,10 +16,10 @@ const router = new VueRouter({
16 16
 
17 17
 // Initialize application
18 18
 document.addEventListener('DOMContentLoaded', () => {
19
-    new Vue({
20
-        el: '[role=application]',
21
-        render: h => h(App),
22
-        router
23
-    })
24
-    console.log('App has been initialized.')
19
+  const vueApp = new Vue({
20
+    render: h => h(App),
21
+    router
22
+  })
23
+  vueApp.$mount('[role=application]')
24
+  console.log('App has been initialized.')
25 25
 })

+ 1
- 1
app/routes.js View File

@@ -1,4 +1,4 @@
1
-import { publicView, dashboardView } from './views';
1
+import { publicView, dashboardView } from './views'
2 2
 
3 3
 export default [
4 4
   {

+ 1
- 1
webpack.config.js View File

@@ -17,7 +17,7 @@ module.exports = {
17 17
       {
18 18
         test: /\.js$/,
19 19
         exclude: /node_modules/,
20
-        loader: 'babel',
20
+        loader: 'babel'
21 21
       },
22 22
       {
23 23
         test: /\.vue$/,