chore: cleanup
parent
e275e0d7dc
commit
6befa9a53b
@ -0,0 +1,2 @@
|
||||
shamefully-hoist=true
|
||||
strict-peer-dependencies=false
|
@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
coucou!
|
||||
<about></about>
|
||||
</div>
|
||||
</template>
|
@ -0,0 +1,2 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({})
|
@ -1,18 +0,0 @@
|
||||
export const state = () => ({
|
||||
list: [],
|
||||
});
|
||||
|
||||
export const mutations = {
|
||||
add(state, text) {
|
||||
state.list.push({
|
||||
text,
|
||||
done: false,
|
||||
});
|
||||
},
|
||||
remove(state, { todo }) {
|
||||
state.list.splice(state.list.indexOf(todo), 1);
|
||||
},
|
||||
toggle(state, todo) {
|
||||
todo.done = !todo.done;
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue