spacedrive/crates/sync/example/web
Utku dbec988147
[ENG-362, ENG-476, ENG-503] Next.js (#817)
* update landing packages & tailwind

* move images

* refactor to nextjs

* doc stuff

* rename markdown to mdx

* working docs

* Add math

* fix pnpm-lock

* Code highlighting

* fix types

* fix more stuff

* Notice component and removed slot

* delete editorconfig eslint rule

* pnpm-lock

* some fixes

* fixed types (pls)

* bump ui's typescript too

* commit next-env.d.ts

* fix doc links

* Use next/head instead of react-helmet & rehype-external-links

* fixes

* fix unsub from list

* add trim() to docs.excerpt

* trim doc title too

* fix titles

* replace <a> to Link

* hide .contentlayer & .next from vscode search
2023-05-21 13:11:03 +00:00
..
src Upgrade rspc TS (#775) 2023-05-04 06:21:42 +00:00
.gitignore More Sync Stuff (#438) 2022-10-27 23:12:28 -07:00
index.html cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
package.json [ENG-362, ENG-476, ENG-503] Next.js (#817) 2023-05-21 13:11:03 +00:00
postcss.config.js cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
README.md More Sync Stuff (#438) 2022-10-27 23:12:28 -07:00
tailwind.config.js cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
tsconfig.json cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
vite.config.ts cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00

Usage

Those templates dependencies are maintained via pnpm via pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)