Add search page #41
@ -3,9 +3,10 @@ const route = useRoute()
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="h-screen flex items-center justify-center">
|
||||||
<h1>Nuxt Routing set up successfully!</h1>
|
<div class="flex space-x-2">
|
||||||
<p>Current route: {{ route.path }}</p>
|
<input placeholder=".NET C#" class="text-center bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg p-2.5 w-192"/>
|
||||||
<a href="https://nuxt.com/docs/getting-started/routing" target="_blank">Learn more about Nuxt Routing</a>
|
<button class="text-gray-900 bg-gray-50 border border-gray-300 px-4 py-2 rounded-lg">Search</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -7,7 +7,6 @@ const loading = ref<boolean>(true);
|
|||||||
const error = ref<string | null>(null);
|
const error = ref<string | null>(null);
|
||||||
let dict = ref<ProgressDictionary[] | null>(null);
|
let dict = ref<ProgressDictionary[] | null>(null);
|
||||||
|
|
||||||
|
|
||||||
const fetchMyData = async () => {
|
const fetchMyData = async () => {
|
||||||
try {
|
try {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@ -36,8 +35,6 @@ const fetchMyData = async () => {
|
|||||||
|
|
||||||
fetchMyData();
|
fetchMyData();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -9,7 +9,13 @@ export default {
|
|||||||
"./error.vue",
|
"./error.vue",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {
|
||||||
|
width: {
|
||||||
|
'128': '32rem',
|
||||||
|
'192' : '48rem',
|
||||||
|
'256': '64rem',
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user