Skip to content

public- folder in root when slides in respective subfolders #1495

Closed Answered by jolo-dev
jolo-dev asked this question in Q&A
Discussion options

You must be logged in to vote

The solution is to create a vite.config.ts next to the slides.md:

import { defineConfig } from 'vite'

export default defineConfig({
    publicDir: '../public'
})

https://discord.com/channels/851817370623410197/1225094031575617629/1225096758988636341

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jolo-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant