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 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>
 | 
			
		||||
 
 | 
			
		||||
@@ -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' },
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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',
 | 
			
		||||
@@ -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')
 | 
			
		||||
@@ -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: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user