Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
revert change to root
Sara Vieirad1d373edee95
diff --git a/app/root.tsx b/app/root.tsxindex 92492535c7..9a21f63eec 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -1,32 +1 @@-import type { MetaFunction } from "@remix-run/node";-import {- Links,- LiveReload,- Meta,- Outlet,- Scripts,- ScrollRestoration,-} from "@remix-run/react";--export const meta: MetaFunction = () => ({- charset: "utf-8",- title: "Webstudio",- viewport: "width=device-width,initial-scale=1",-});--export default function App() {- return (- <html lang="en">- <head>- <Meta />- <Links />- </head>- <body>- <Outlet />- <ScrollRestoration />- <Scripts />- <LiveReload />- </body>- </html>- );-}+export { Outlet as default } from "@remix-run/react";diff --git a/fly.sh b/fly.shindex 266293c550..4e63c08457 100644--- a/fly.sh+++ b/fly.sh@@ -6,5 +6,5 @@#!/bin/shset -ex-yarn prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma+yarn prisma migrate deployyarn start\ No newline at end of filediff --git a/package.json b/package.jsonindex ea4f4b98dc..46dc58690a 100644--- a/package.json+++ b/package.json@@ -4,12 +4,12 @@"description": "Webstudio Designer UI as a service","scripts": {"build": "remix build",- "dev": "node -r dotenv/config node_modules/.bin/remix dev",+ "dev": "yarn setup && node -r dotenv/config node_modules/.bin/remix dev","start": "remix-serve build","typecheck": "tsc -b","lint": "eslint . --ext .ts,.tsx --max-warnings 0","test": "jest",- "prepare": "cp ./node_modules/@webstudio-is/sdk/prisma/schema.prisma prisma/ && yarn migrate && yarn generate",+ "setup": "cp ./node_modules/@webstudio-is/sdk/prisma/schema.prisma prisma/ && yarn migrate && yarn generate","checks": "yarn lint && yarn typecheck && yarn test","migrate": "yarn prisma migrate dev","generate": "yarn prisma generate",diff --git a/remix.config.js b/remix.config.jsindex 260b82c7cb..76c2fd3143 100644--- a/remix.config.js+++ b/remix.config.js@@ -3,8 +3,5 @@*/module.exports = {ignoredRouteFiles: ["**/.*"],- // appDirectory: "app",- // assetsBuildDirectory: "public/build",- // serverBuildPath: "build/index.js",- // publicPath: "/build/",+ cacheDirectory: "./node_modules/.cache/remix",};