Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Releases: nning/svelte-rails

v0.3.4

31 Jul 10:55
v0.3.4
46b3c7e
Compare
Choose a tag to compare

Changes

  • Fix problem with dependencies of svelte_ujs_ng

v0.3.3

30 Jul 20:41
v0.3.3
b208c30
Compare
Choose a tag to compare

Changes

  • Add svelte-preprocess for support of PostCSS, SCSS, Less, Stylus, CoffeeScript, TypeScript, Pug and much more in Svelte components
    https://github.com/sveltejs/svelte-preprocess#readme
  • Server rendering webpack config waits longer for shared manifest.json (to avoid crash if client build takes too long)
  • Emit CSS from components to build with webpack (and no longer in-line CSS when prerendering)
  • Fix issue with environment specific webpack config selection (production works, now)

v0.3.2

10 Jul 10:54
a1e7c4f
Compare
Choose a tag to compare
  • Introduced config.svelte.prerender_default for controlling whether Svelte is prerendered server-side by default
  • Added additional names for the controller renderer: svelte, svelte_component, so this is possible from controller code, now:
    render svelte: :Hello

v0.3.1

10 Jul 10:14
cb7369d
Compare
Choose a tag to compare

Fixes import issue with svelte_ujs_ng

v0.3.0

06 Jul 12:00
ebf7823
Compare
Choose a tag to compare

v0.2.1

06 Jul 11:24
1619e42
Compare
Choose a tag to compare
  • Turbolinks integration
  • Render components directly from controllers

v0.1.0

03 Jul 21:30
Compare
Choose a tag to compare

First working proof-of-concept release

Features

  • View helper for including Svelte components from templates
  • Server- and client-side rendering
  • Installation via generator