Skip to content

Commit

Permalink
docs: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuletik committed Dec 22, 2021
1 parent 0a11780 commit 701749a
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 @@ -180,14 +180,14 @@ You can redefine those variables in your `settings.py` :
You may use it with `STATICFILES_DIRS`.
You also need to add this prefix inside vite config's `base`.
e.g.:
```
```python
# settings.py

DJANGO_VITE_STATIC_URL_PREFIX = 'bundler'
STATICFILES_DIRS = (('bundler', '/srv/app/bundler/dist'),)
```
```
// vite.config.ts
```javascript
// vite.config.js

export default defineConfig({
base: '/static/bundler/',
Expand Down

0 comments on commit 701749a

Please sign in to comment.