Change directory of main.js for index

This commit is contained in:
kPherox 2019-04-07 06:43:55 +09:00
parent 63a5833ba5
commit d9eefb7df2
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D
6 changed files with 21 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -4,8 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>TheDesk-Vue</title>
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<noscript>

View File

@ -116,7 +116,7 @@ const template = [
{ role: 'paste' },
{ role: 'pasteandmatchstyle' },
{ role: 'delete' },
{ role: 'selectall' }
{ role: 'selectall' },
]
},
{
@ -126,14 +126,14 @@ const template = [
{ role: 'forcereload' },
{ role: 'toggledevtools' },
{ type: 'separator' },
{ role: 'togglefullscreen' }
{ role: 'togglefullscreen' },
]
},
{
role: 'Window',
submenu: [
{ role: 'minimize' },
{ role: 'close' }
{ role: 'close' },
]
},
{
@ -160,7 +160,7 @@ if (process.platform === 'darwin') {
{ role: 'hideothers' },
{ role: 'unhide' },
{ type: 'separator' },
{ role: 'quit' }
{ role: 'quit' },
)
template[1].submenu.push(
@ -169,7 +169,7 @@ if (process.platform === 'darwin') {
label: 'Speech',
submenu: [
{ role: 'startspeaking' },
{ role: 'stopspeaking' }
{ role: 'stopspeaking' },
]
}
)
@ -179,7 +179,7 @@ if (process.platform === 'darwin') {
{ role: 'minimize' },
{ role: 'zoom' },
{ type: 'separator' },
{ role: 'front' }
{ role: 'front' },
]
}

View File

@ -1,12 +1,12 @@
<template>
<div id="app">
<img alt="Vue logo" src="./assets/logo.png">
<img alt="Vue logo" src="@/assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
</div>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
import HelloWorld from '@/components/HelloWorld.vue'
export default {
name: 'app',

View File

@ -1,8 +1,8 @@
import Vue from 'vue'
import App from './App.vue'
import Index from './Index.vue'
Vue.config.productionTip = false
new Vue({
render: h => h(App),
render: h => h(Index),
}).$mount('#app')

View File

@ -1,5 +1,15 @@
const { productName } = require("./package.json")
module.exports = {
pages: {
index: {
entry: 'src/index/main.js',
template: 'public/index.html',
filename: 'index.html',
title: productName,
},
},
css: {
loaderOptions: {
postcss: {