All Projects → meteor-svelte → Meteor Svelte

meteor-svelte / Meteor Svelte

Licence: mit
Build cybernetically enhanced web apps with Meteor and Svelte.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Meteor Svelte

svelte-meteor-data
Reactively track Meteor data inside Svelte components
Stars: ✭ 14 (-86.14%)
Mutual labels:  meteor, svelte
Svelte Language Server
A WIP language server for Svelte
Stars: ✭ 98 (-2.97%)
Mutual labels:  svelte
Svelte Pwa
Svelte Progresssive Web App (PWA) starter template
Stars: ✭ 87 (-13.86%)
Mutual labels:  svelte
Dino Rss Electron
A simple, efficient, open source RSS reader service
Stars: ✭ 89 (-11.88%)
Mutual labels:  svelte
Omniawrite
A text editor engineered for creative writing.
Stars: ✭ 88 (-12.87%)
Mutual labels:  svelte
Bukanmessenger
BukanMessenger is an Open Source Messenger App build on top ReactNative & MeteorJS
Stars: ✭ 95 (-5.94%)
Mutual labels:  meteor
Apollo
Meteor & Apollo integration
Stars: ✭ 87 (-13.86%)
Mutual labels:  meteor
Uniforms
A React library for building forms from any schema.
Stars: ✭ 1,368 (+1254.46%)
Mutual labels:  meteor
Hello Worlds
Hello world apps for angular, react, svelte, and vue
Stars: ✭ 98 (-2.97%)
Mutual labels:  svelte
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (-9.9%)
Mutual labels:  meteor
Meteor Yelp Clone
Cloning Fullstack React's Yelp Clone in Meteor (in progress)
Stars: ✭ 90 (-10.89%)
Mutual labels:  meteor
Sapper Graphql Firebase
Svelte + Sapper + GraphQL + Firebase Auth
Stars: ✭ 88 (-12.87%)
Mutual labels:  svelte
Snow Stamp
Get the timestamp from a Discord snowflake ❄
Stars: ✭ 95 (-5.94%)
Mutual labels:  svelte
Svelte Template
🚧 An easy-to-use Svelte template! (Svelte + Typescript + Parcel + Express) 2020
Stars: ✭ 88 (-12.87%)
Mutual labels:  svelte
Svelte Demo
Multi-page demo built Svelte 3.x and Rollup with code-splitting
Stars: ✭ 99 (-1.98%)
Mutual labels:  svelte
Meteor Leaflet
Leaflet.js for Meteor.js
Stars: ✭ 87 (-13.86%)
Mutual labels:  meteor
Site Kit
Styles and components for use in *.svelte.dev websites
Stars: ✭ 86 (-14.85%)
Mutual labels:  svelte
Awesome Svelte
Awesome Svelte: Useful resources for developing Svelte applications
Stars: ✭ 92 (-8.91%)
Mutual labels:  svelte
Ghost Theme Moegi
An elegant & fresh ghost theme.
Stars: ✭ 101 (+0%)
Mutual labels:  svelte
Instagram Clone
Web/Android/iOS app to share photos on Google Maps in < 300 lines of code. Features REST API, shake to undo, OAuth login etc.
Stars: ✭ 99 (-1.98%)
Mutual labels:  meteor

Svelte for Meteor

Build cybernetically enhanced web apps with Meteor and Svelte.

Installation

To use meteor-svelte, run the following commands:

$ meteor add svelte:compiler
$ meteor npm install [email protected]<version>

Important: The version of the svelte npm package should match the version of svelte:compiler.

Options

Compiler options can be specified with a "svelte:compiler" property in package.json. For example:

{
  ...
  "svelte:compiler": {
    "extensions": ["svelte", "html"],
    "hydratable": true,
    "css": false
  }
}

extensions (default: ["svelte"])

An array of file extensions to be recognized by the package. Note that HTML files are not compiled with the Svelte compiler if they contain top-level <head> or <body> elements. Instead, the contents of the elements are added to the respective sections in the HTML output generated by Meteor (similar to what the static-html package does).

hydratable (default: false)

By default, Svelte removes server-rendered static HTML when the application is loaded on the client and replaces it with a client-rendered version. If you want to reuse (hydrate) server-rendered HTML, set the hydratable option to true (which generates additional code for client components) and use the hydrate option when instantiating your root component.

css (default: true)

Svelte can extract styles for server-side rendering. If you want to render CSS on the server, you might want to set the css option to false so that client-rendered components don't insert CSS into the DOM.

Server-Side Rendering

meteor-svelte supports server-side rendering with minimal configuration. If you import Svelte components on the server, they are automatically built for server-side rendering. See the Svelte API docs, the example app, and the hydratable and css options above for more details.

Examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].