LINK: https://irutu.netlify.app
You can play with these demo projects in your browser, without installing anything on your machine.
- Initialize a vite-pages project (with npm 7+):
- execute
npm init vite-pages app-demo -- --template app
to initialize an app project, or - execute
npm init vite-pages library-demo -- --template lib
to initialize a library project, or - execute
npm init vite-pages library-monorepo-demo -- --template lib-monorepo
to initialize a library project with monorepo setup. - If you are using npm 6.x, the extra double-dash before
--template
should be deleted. For example,npm init vite-pages app-demo --template app
.
- execute
npm install
npm run dev
and play with the local dev environment.npm run build
.npm run ssr
. You can disable javascript in your browser, to verify if it can still render.