Browse Source

just committing before deletion

master
Gourav Kumar 2 years ago
parent
commit
dc58d20588
  1. 13
      package-lock.json
  2. 9
      package.json
  3. 17
      src/App.vue
  4. 7
      src/components/HelloWorld.vue
  5. 14
      src/components/WaveTest.Vue
  6. 8
      src/main.js

13
package-lock.json

@ -8,7 +8,8 @@
"name": "homepage",
"version": "0.0.0",
"dependencies": {
"vue": "^3.0.4"
"vue": "^3.0.4",
"wave-ui": "^2.30.0"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.4",
@ -3049,6 +3050,11 @@
"@vue/shared": "3.2.26"
}
},
"node_modules/wave-ui": {
"version": "2.30.0",
"resolved": "https://registry.npmjs.org/wave-ui/-/wave-ui-2.30.0.tgz",
"integrity": "sha512-FbsFVZuXwE3A05sABh9EGm6GQxrDTMXm4wWS1tzrPDT3J90AlS6wYMSppLNTx2fHVI3aiKUQcTYjByIO/CwpKQ=="
},
"node_modules/wcwidth": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
@ -5473,6 +5479,11 @@
"@vue/shared": "3.2.26"
}
},
"wave-ui": {
"version": "2.30.0",
"resolved": "https://registry.npmjs.org/wave-ui/-/wave-ui-2.30.0.tgz",
"integrity": "sha512-FbsFVZuXwE3A05sABh9EGm6GQxrDTMXm4wWS1tzrPDT3J90AlS6wYMSppLNTx2fHVI3aiKUQcTYjByIO/CwpKQ=="
},
"wcwidth": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",

9
package.json

@ -6,10 +6,11 @@
"build": "vite build"
},
"dependencies": {
"vue": "^3.0.4"
"vue": "^3.0.4",
"wave-ui": "^2.30.0"
},
"devDependencies": {
"vite": "^1.0.0-rc.13",
"@vue/compiler-sfc": "^3.0.4"
"@vue/compiler-sfc": "^3.0.4",
"vite": "^1.0.0-rc.13"
}
}
}

17
src/App.vue

@ -1,15 +1,18 @@
<template>
<img alt="Vue logo" src="./assets/logo.png" />
<HelloWorld msg="Welcome to Gourav's Homepage" />
<w-app>
<img alt="Vue logo" src="./assets/logo.png" />
<HelloWorld msg="Welcome to Gourav's Homepage" />
<w-button>My Button</w-button>
</w-app>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
//import WaveTest from './components/WaveTest.vue'
export default {
name: 'App',
name: "App",
components: {
HelloWorld
}
}
WaveTest,
},
};
</script>

7
src/components/HelloWorld.vue

@ -4,19 +4,22 @@
<input type="text" placeholder="Filter Search" v-model="query" />
<button @click="reset">Reset</button>
</div>
<div>
<!--div>
{{ query }}
<search-results :query='query' />
</div>
</div-->
<wave-test />
</template>
<script>
import { ref } from "vue";
import SearchResults from './SearchResults.vue';
import WaveTest from './WaveTest.Vue'
export default {
components: {
SearchResults,
WaveTest
},
setup() {

14
src/components/WaveTest.Vue

@ -0,0 +1,14 @@
<template>
<!--w-app>
<!-- All your app content goes here. -->
<!-- Also try to add a button! -->
<!--w-button>My Button</w-button>
</w-app-->
</template>
<script>
export default {
}
</script>

8
src/main.js

@ -1,5 +1,11 @@
import { createApp } from 'vue'
import App from './App.vue'
import WaveUI from 'wave-ui'
import 'wave-ui/dist/wave-ui.css'
import './index.css'
createApp(App).mount('#app')
const app = createApp(App)
new WaveUI(app, {
})
app.mount('#app')

Loading…
Cancel
Save