Change directory of main.js for index
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.1 KiB  | 
@@ -4,8 +4,7 @@
 | 
				
			|||||||
    <meta charset="utf-8">
 | 
					    <meta charset="utf-8">
 | 
				
			||||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
					    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
				
			||||||
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
 | 
					    <meta name="viewport" content="width=device-width,initial-scale=1.0">
 | 
				
			||||||
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
 | 
					    <title><%= htmlWebpackPlugin.options.title %></title>
 | 
				
			||||||
    <title>TheDesk-Vue</title>
 | 
					 | 
				
			||||||
  </head>
 | 
					  </head>
 | 
				
			||||||
  <body>
 | 
					  <body>
 | 
				
			||||||
    <noscript>
 | 
					    <noscript>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -116,7 +116,7 @@ const template = [
 | 
				
			|||||||
      { role: 'paste' },
 | 
					      { role: 'paste' },
 | 
				
			||||||
      { role: 'pasteandmatchstyle' },
 | 
					      { role: 'pasteandmatchstyle' },
 | 
				
			||||||
      { role: 'delete' },
 | 
					      { role: 'delete' },
 | 
				
			||||||
      { role: 'selectall' }
 | 
					      { role: 'selectall' },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
@@ -126,14 +126,14 @@ const template = [
 | 
				
			|||||||
      { role: 'forcereload' },
 | 
					      { role: 'forcereload' },
 | 
				
			||||||
      { role: 'toggledevtools' },
 | 
					      { role: 'toggledevtools' },
 | 
				
			||||||
      { type: 'separator' },
 | 
					      { type: 'separator' },
 | 
				
			||||||
      { role: 'togglefullscreen' }
 | 
					      { role: 'togglefullscreen' },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    role: 'Window',
 | 
					    role: 'Window',
 | 
				
			||||||
    submenu: [
 | 
					    submenu: [
 | 
				
			||||||
      { role: 'minimize' },
 | 
					      { role: 'minimize' },
 | 
				
			||||||
      { role: 'close' }
 | 
					      { role: 'close' },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
@@ -160,7 +160,7 @@ if (process.platform === 'darwin') {
 | 
				
			|||||||
    { role: 'hideothers' },
 | 
					    { role: 'hideothers' },
 | 
				
			||||||
    { role: 'unhide' },
 | 
					    { role: 'unhide' },
 | 
				
			||||||
    { type: 'separator' },
 | 
					    { type: 'separator' },
 | 
				
			||||||
    { role: 'quit' }
 | 
					    { role: 'quit' },
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  template[1].submenu.push(
 | 
					  template[1].submenu.push(
 | 
				
			||||||
@@ -169,7 +169,7 @@ if (process.platform === 'darwin') {
 | 
				
			|||||||
      label: 'Speech',
 | 
					      label: 'Speech',
 | 
				
			||||||
      submenu: [
 | 
					      submenu: [
 | 
				
			||||||
        { role: 'startspeaking' },
 | 
					        { role: 'startspeaking' },
 | 
				
			||||||
        { role: 'stopspeaking' }
 | 
					        { role: 'stopspeaking' },
 | 
				
			||||||
      ]
 | 
					      ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
@@ -179,7 +179,7 @@ if (process.platform === 'darwin') {
 | 
				
			|||||||
    { role: 'minimize' },
 | 
					    { role: 'minimize' },
 | 
				
			||||||
    { role: 'zoom' },
 | 
					    { role: 'zoom' },
 | 
				
			||||||
    { type: 'separator' },
 | 
					    { type: 'separator' },
 | 
				
			||||||
    { role: 'front' }
 | 
					    { role: 'front' },
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,12 +1,12 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div id="app">
 | 
					  <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"/>
 | 
					    <HelloWorld msg="Welcome to Your Vue.js App"/>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import HelloWorld from './components/HelloWorld.vue'
 | 
					import HelloWorld from '@/components/HelloWorld.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'app',
 | 
					  name: 'app',
 | 
				
			||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
import Vue from 'vue'
 | 
					import Vue from 'vue'
 | 
				
			||||||
import App from './App.vue'
 | 
					import Index from './Index.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Vue.config.productionTip = false
 | 
					Vue.config.productionTip = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
new Vue({
 | 
					new Vue({
 | 
				
			||||||
  render: h => h(App),
 | 
					  render: h => h(Index),
 | 
				
			||||||
}).$mount('#app')
 | 
					}).$mount('#app')
 | 
				
			||||||
@@ -1,5 +1,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					const { productName } = require("./package.json")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
 | 
					  pages: {
 | 
				
			||||||
 | 
					    index: {
 | 
				
			||||||
 | 
					      entry: 'src/index/main.js',
 | 
				
			||||||
 | 
					      template: 'public/index.html',
 | 
				
			||||||
 | 
					      filename: 'index.html',
 | 
				
			||||||
 | 
					      title: productName,
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  css: {
 | 
					  css: {
 | 
				
			||||||
    loaderOptions: {
 | 
					    loaderOptions: {
 | 
				
			||||||
      postcss: {
 | 
					      postcss: {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user