Skip to content

SteadyCMS/desktop

Repository files navigation

SteadyCMS desktop

This repository contains the desktop-specific Electron source for the SteadyCMS desktop application built with Vue 3, Electron, and Tailwindcss.

Development

Install dependencies

npm install

Sync the main Vue.js application code

cd src/renderer
git clone https://github.com/SteadyCMS/SteadyCMS.git
cd ../..

Rebuilding tailwindcss

cd src/renderer
npx tailwindcss -i ./assets/source.css -o ./assets/main.css --watch

Start developing

npm run dev

Additional Commands

npm run dev # starts application with hot reload
npm run build # builds application, distributable files can be found in "dist" folder

# OR

npm run build:win # uses windows as build target
npm run build:mac # uses mac as build target
npm run build:linux # uses linux as build target

Optional configuration options can be found in the Electron Builder CLI docs.

Project Structure

- scripts/ # all the scripts used to build or serve your application, change as you like.
- src/
  - main/ # Main thread (Electron application source)
  - renderer/ # Renderer thread (VueJS application source goes here)

License

Copyright 2023 SteadyCMS authors. GPL-3.0 license, see LICENSE for details.