Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidschrooten authored Nov 19, 2022
1 parent 3b2ac7f commit 061267e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ This will be all for the frontend side.

### Frontend

The easiest way to start is by creating a new vite app. In this example we create a svelte-ts vite project.
Easiest way to start is by creating a new vite app. In this example we create a svelte-ts vite project outside the django directory.

```bash
# npm 6.x npm create vite@latest my-vue-app --template vue # npm 7+, extra double-dash is needed: npm create vite@latest my-vue-app -- --template vue # yarn yarn create vite my-vue-app --template vue # pnpm pnpm create vite my-vue-app --template svelte-ts
Expand Down Expand Up @@ -149,8 +149,8 @@ export default defineConfig({
})
```

Then in `core/static/` we create a `dist` and `src` folder
In `core/static/src/main.ts` we install inertia.
In `core/static/` we create a `dist` and `src` folder
And in `core/static/src/main.ts` we setup inertia.

```typescript
import 'vite/modulepreload-polyfill'
Expand Down

0 comments on commit 061267e

Please sign in to comment.