Sha256: b0f5315db3b5ce9b76b6c51b3f664a9e94271a37aeeff18279beff8c2fd82db1
Contents?: true
Size: 903 Bytes
Versions: 15
Compression:
Stored size: 903 Bytes
Contents
// To see this message, add the following to the `<head>` section in your // views/layouts/application.html.erb // // <%= vite_client_tag %> // <%= vite_javascript_tag 'application' %> console.log('Vite ⚡️ Rails?') // If using a TypeScript entrypoint file: // <%= vite_typescript_tag 'application' %> // // If you want to use .jsx or .tsx, add the extension: // <%= vite_javascript_tag 'application.jsx' %> console.log('Visit the guide for more information: ', 'https://vite-ruby.netlify.app/guide/rails') // Example: Load Rails libraries in Vite. // import '@hotwired/turbo-rails' import "./javascript/controllers/index" // // import ActiveStorage from '@rails/activestorage' // ActiveStorage.start() // // // Import all channels. // const channels = import.meta.globEager('./**/*_channel.js') // Example: Import a stylesheet in app/frontend/index.css import './application.css'
Version data entries
15 entries across 15 versions & 1 rubygems