Skip to content
A sample app to demo Rails/Svelte integration with webpacker-svelte
Ruby HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app better style example Sep 11, 2019
bin
config
db be rails g scaffold Contact name:string email:string twitter:string p… Sep 9, 2019
lib rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
log rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
public
storage rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
test testing Sep 11, 2019
tmp
vendor
.browserslistrc rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
.eslintignore
.eslintrc.js
.gitignore rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
.prettierignore
.ruby-version
.tool-versions error handing Sep 9, 2019
Gemfile bootstrap Sep 9, 2019
Gemfile.lock bootstrap Sep 9, 2019
README.md add blog link to readme Nov 11, 2019
Rakefile rails new contacts --database=postgresql --webpack=svelte Sep 9, 2019
babel.config.js
config.ru
jest.config.js testing Sep 11, 2019
package.json upgrade jest-transform-svelte after release Sep 12, 2019
postcss.config.js
prettier.config.js add deps, run formatter Sep 9, 2019
yarn.lock upgrade jest-transform-svelte after release Sep 12, 2019

README.md

Contacts

This is a sample app for showing a Rails app that embeds Svelte components with webpacker-svelte.

For more information, see the related blog post.

Development

Set up

gem install bundler
bundle install
yarn install

Run

bundle exec rails s

Switch to pre-Svelte branch

git checkout rails
You can’t perform that action at this time.