mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
28 lines
659 B
TypeScript
28 lines
659 B
TypeScript
|
|
// Entry point for the build script in your package.json
|
|
import Rails from '@rails/ujs'
|
|
|
|
import 'bootstrap'
|
|
import 'masonry-layout'
|
|
|
|
import Cocooned from '@notus.sh/cocooned/src/cocooned/cocooned.js' // Leave out the plugins
|
|
|
|
// I can't make this work, so it's included in the layout for now
|
|
// import '@selectize/selectize/dist/js/standalone/selectize.js'
|
|
|
|
import 'src/preview'
|
|
import 'src/bulk_edit'
|
|
import 'src/model_edit'
|
|
import 'src/tag'
|
|
import 'src/carousel'
|
|
import 'src/file_size_validation'
|
|
|
|
// Load i18n definitions
|
|
import { I18n } from 'i18n-js'
|
|
import locales from './locales.json'
|
|
|
|
Rails.start()
|
|
Cocooned.start()
|
|
|
|
window.i18n = new I18n(locales)
|