Run formatter
This commit is contained in:
parent
d03764140e
commit
5a2eaa16e1
|
@ -1,14 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
import Vue from 'vue';
|
||||
import { upperFirst } from 'lodash'
|
||||
import { camelCase } from 'lodash'
|
||||
import { upperFirst, camelCase } from 'lodash'
|
||||
|
||||
const requireComponent = require.context(
|
||||
'./globals',
|
||||
false,
|
||||
/Base[A-Z]\w+\.(vue|js)$/
|
||||
)
|
||||
const requireComponent = require.context('./globals', false, /Base[A-Z]\w+\.(vue|js)$/)
|
||||
|
||||
requireComponent.keys().forEach((fileName: string) => {
|
||||
const componentConfig = requireComponent(fileName)
|
||||
|
|
|
@ -3,7 +3,7 @@ import '@/components/_globals'
|
|||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
export default function(render: VueConstructor) {
|
||||
export default function (render: VueConstructor) {
|
||||
new Vue({
|
||||
render: h => h(render),
|
||||
}).$mount('#app')
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
</div>
|
||||
<p id="app-name">{{ productName }}</p>
|
||||
<p id="web-site">
|
||||
<BaseLink :href="homePage">
|
||||
Web site
|
||||
</BaseLink>
|
||||
<a :href="homePage">Web site</a>
|
||||
</p>
|
||||
</div>
|
||||
<dl class="version">
|
||||
|
@ -26,17 +24,17 @@
|
|||
<style lang="postcss">
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
||||
font-family: "Avenir", Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-app-region: drag;
|
||||
user-select: none;
|
||||
}
|
||||
#about {
|
||||
padding: .5em;
|
||||
padding: 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
#brand {
|
||||
margin-top: .5em;
|
||||
margin-top: 0.5em;
|
||||
& > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -56,8 +54,9 @@ dl.version {
|
|||
text-align: left;
|
||||
-webkit-app-region: no-drag;
|
||||
user-select: text;
|
||||
padding: .5em;
|
||||
dt, dd {
|
||||
padding: 0.5em;
|
||||
dt,
|
||||
dd {
|
||||
margin-left: 0;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
@ -65,8 +64,8 @@ dl.version {
|
|||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Vue } from 'vue-property-decorator';
|
||||
import { ipcRenderer } from 'electron'
|
||||
import { Component, Vue } from "vue-property-decorator"
|
||||
import { ipcRenderer } from "electron"
|
||||
|
||||
interface Version {
|
||||
name: string
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<img alt="Vue logo" src="@/assets/logo.png">
|
||||
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
|
||||
<img alt="Vue logo" src="@/assets/logo.png" />
|
||||
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -14,12 +14,12 @@ import HelloWorld from '@/components/HelloWorld.vue';
|
|||
HelloWorld,
|
||||
},
|
||||
})
|
||||
export default class App extends Vue {}
|
||||
export default class App extends Vue { }
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
||||
font-family: "Avenir", Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
const { productName } = require("./package.json")
|
||||
const { appId, copyright } = require("./info.json")
|
||||
const {
|
||||
productName
|
||||
} = require("./package.json")
|
||||
const {
|
||||
appId,
|
||||
copyright
|
||||
} = require("./info.json")
|
||||
|
||||
module.exports = {
|
||||
pages: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user