ducky/web
ducky/web/src/main.js
Remove .swp files, update package.json. Remove the .swp files and add .swp to the .hgignore file. Update package.json to pin webpack at 1.8.9 because 1.8.10 broke everything and decided that didn't deserve a major version bump. See https://github.com/webpack/webpack/issues/1016
1 import app from 'ampersand-app'
2 import Router from './router'
3 import Profiles from './models/profiles'
4 import Me from './models/me'
5 import normalize from 'normalize.css/normalize.css'
6 import styles from './styles/main.scss'
8 window.app = app.extend({
9 init () {
10 this.profiles = new Profiles()
11 this.me = new Me()
12 this.router = new Router()
13 this.router.history.start({ pushState: true })
14 }
15 })
17 app.init()