- Máximo Mussini
exe/dev (added during installation) to start both Vite and Jekyll for development.
Visit your Jekyll site and you should see a printed console output:
Vite ⚡️ Ruby.
Alternatively, run bin/vite dev to start the Vite development server, and restart your Jekyll server with bin/jekyll serve once Vite is running.
_frontend: sourceCodeDir ├── entrypoints: entrypointsDir │ # only Vite entry files here │ └── application.js │ └── typography.css └── components: │ └── App.jsx └── stylesheets: │ └── main.scss └── images: └── logo.svg
These files will be automatically detected and passed on to Vite, all configuration is done for you.
You can add them to your HTML layouts or views using the provided tag helpers.
Import Aliases 👉
import App from '~/components/App.jsx' import '@/stylesheets/main.scss'
CLI Commands ⌨️
A CLI tool is provided, you can run it using bundle exec vite, or bin/vite after installation.
For information about the CLI options run bin/vite --help.