Skip to content
Snippets Groups Projects
Commit a2601f1c authored by ap2x07's avatar ap2x07
Browse files

fixed up eslint to be single quotes and vetur working

parent 5ea15363
No related branches found
No related tags found
No related merge requests found
module.exports = {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/prettier"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
}
\ No newline at end of file
module.exports = {
singleQuote: true,
semi: false,
}
{
"include": [
"./src/**/*"
]
}
\ No newline at end of file
......@@ -28,21 +28,7 @@
"eslint-plugin-vue": "^7.0.0",
"prettier": "^2.2.1"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/prettier"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
......
......@@ -6,8 +6,8 @@
<script>
export default {
name: "SampleComponent",
};
name: 'SampleComponent',
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
......
......@@ -6,12 +6,22 @@
<script>
// @ is an alias to /src
import SampleComponent from "@/components/SampleComponent.vue";
import SampleComponent from '@/components/SampleComponent.vue'
import axios from 'axios'
export default {
name: "Home",
name: 'Home',
components: {
SampleComponent,
},
};
data() {
return {
new_spaces: null,
}
},
created() {
axios.get('https://kinopio.club/space/new-spaces')
},
}
</script>
{
"include": [
"./src/**/*"
],
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"target": "es5",
"sourceMap": true,
"allowJs": true
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment