Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahidfa committed Dec 29, 2023
1 parent 2f80d93 commit f055e83
Show file tree
Hide file tree
Showing 5 changed files with 1,264 additions and 790 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ A minimal, working template for Inertia + Django + Vite + Vue.
## Technologies

1. Inertia - powered by the official [Inertia.js Django Adapter](https://github.com/inertiajs/inertia-django)
2. Django v4.1
3. Vite 3 - powered by [Django Vite](https://github.com/MrBin99/django-vite)
2. Django v4.2
3. Vite 5 - powered by [Django Vite](https://github.com/MrBin99/django-vite)
4. Vue 3
5. TypeScript
6. [WhiteNoise](https://whitenoise.evans.io/en/stable/index.html) - to serve static files
Expand Down
6 changes: 3 additions & 3 deletions app/static/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import "vite/modulepreload-polyfill";
import { createApp, h } from "vue";
import { createInertiaApp } from "@inertiajs/inertia-vue3";
import { createInertiaApp } from "@inertiajs/vue3";

createInertiaApp({
resolve: (name) => import(`./pages/${name}.vue`),
setup({ el, app, props, plugin }) {
createApp({ render: () => h(app, props) })
setup({ el, App, props, plugin }) {
createApp({ render: () => h(App, props) })
.use(plugin)
.mount(el);
},
Expand Down
Loading

0 comments on commit f055e83

Please sign in to comment.