Change store creation

This commit is contained in:
Ramon Wenger 2018-08-09 14:46:18 +02:00
parent 7f8739500e
commit 5b9c28b112
2 changed files with 1 additions and 16 deletions

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
<head>
<style>h1{color: red;}</style>
{{ HEAD }}
</head>
<body {{ BODY_ATTRS }}>
<h1>Hello world</h1>
{{ APP }}
</body>
</html>

View File

@ -1,7 +1,6 @@
import Vuex from 'vuex' import Vuex from 'vuex'
const createStore = () => { export default new Vuex.Store({
return new Vuex.Store({
modules: {}, modules: {},
state: { state: {
@ -15,6 +14,3 @@ const createStore = () => {
mutations: {} mutations: {}
}) })
}
export default createStore