Doc fixes
parent
58fe8661c5
commit
9ab22ea0a0
|
@ -79,7 +79,7 @@ import ThemeSwitcher from './components/ThemeSwitcher.vue';`;
|
|||
} else {
|
||||
// main.js
|
||||
pvTheme += `import "primeflex/primeflex.css";
|
||||
import "primevue/resources/themes/lara-light-green/theme.css";`;
|
||||
import "primevue/resources/themes/aura-light-green/theme.css";`;
|
||||
|
||||
// package.json
|
||||
dependencies['primeflex'] = app_dependencies['primeflex'] || 'latest';
|
||||
|
|
|
@ -178,7 +178,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
@ -147,7 +147,7 @@ const items = ref([
|
|||
{
|
||||
label: 'Installation',
|
||||
command: () => {
|
||||
$router.push('/introduction');
|
||||
router.push('/introduction');
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -136,7 +136,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
@ -150,7 +150,7 @@ const items = ref([
|
|||
label: 'Programmatic',
|
||||
icon: 'pi pi-link',
|
||||
command: () => {
|
||||
router.push('/introduction');
|
||||
router.push('/introduction');
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -171,7 +171,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ export default {
|
|||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
import { useRouter } from "vue";
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
|
|
Loading…
Reference in New Issue