remix-electron

Electron integration for Remix ⚛💿

Downloads
311
Stars
292
Committers
6

Bot releases are hidden (Show)

remix-electron - Release 2.0.2 Latest Release

Published by itsMapleLeaf 9 months ago

Fixes #26

remix-electron - Release 2.0.1

Published by itsMapleLeaf 10 months ago

  • fix: use decodeURIComponent to allow fetching public filenames that contain whitespaces (177587e)
remix-electron -

Published by itsMapleLeaf 12 months ago

Updated for Remix v2, some small template improvements, etc.

remix-electron -

Published by itsMapleLeaf over 1 year ago

Adds support for server-sent events, thanks @jakoblorz!

remix-electron -

Published by itsMapleLeaf over 2 years ago

Bugfix: resolves non-absolute paths relative to the app folder. Should fix cases where assets like css files aren't resolved

Also updated the template to use the latest Remix version

remix-electron - 1.2.1

Published by itsMapleLeaf over 2 years ago

Improves request performance in dev, thanks @Aexylus!

remix-electron -

Published by itsMapleLeaf over 2 years ago

Adds support for the Referer header

remix-electron -

Published by itsMapleLeaf over 2 years ago

Supports seeing changes on reload again. See #9 for details

remix-electron - 1.0.0

Published by itsMapleLeaf over 2 years ago

Breaking: The initRemix() function now accepts the server build instead of the remix config. This update allows using Remix's server build feature with the virtual import; you can now more easily write the electron entry in TS!

// desktop/main.ts
import * as serverBuild from "@remix-run/dev/server-build"
import { initRemix } from "remix-electron"

// ...

    const url = await initRemix({ serverBuild })
    await createWindow(url)
// remix.config.js
/**
 * @type {import('@remix-run/dev/config').AppConfig}
 */
module.exports = {
  appDirectory: "app",
  assetsBuildDirectory: "public/build",
  publicPath: "/build/",
  server: "desktop/main.ts",
  serverBuildPath: "desktop/build/index.js",
  devServerPort: 8002,
  ignoredRouteFiles: [".*"],
}
remix-electron -

Published by itsMapleLeaf over 2 years ago

Fixes asset path on Windows #6

remix-electron - 0.3.0

Published by itsMapleLeaf over 2 years ago

Supports Remix 1.2 and the new serverBuildPath config

remix-electron -

Published by itsMapleLeaf over 2 years ago

Added support for passing context into loaders