UNPKG

create-vanjs

Version:

🍦 Quick tool for scaffolding your first VanJS project

60 lines (50 loc) 2.55 kB
## node-ssr-ts A fully-featured starter template for VanJS. ### Features - NodeJS Configuration (works with any runtime) - Server Side Rendering (SSR/MPA) - Pre-renderer Included (SSG) - TypeScript Support ### Scripts - `npm run dev` - Start the development server - `npm run build` - Build both client and server for production - `npm run build:client` - Build the **client** for production - `npm run build:server` - Build the **server** for production - `npm run generate` - Generate a static app (SSG) - `npm run preview` - Preview the SSG (static) production build - `npm run start` - Start the app in production mode ### What's included - `@tailwindcss/vite` - A plugin that integrates TailwindCSS with Vite. - `compression` - Node.js compression middleware. - `daisyui` - The most popular, free and open-source Tailwind CSS component library. - `express` - A back-end web application framework for building RESTful APIs. - `mini-van-plate` - A Minimalist Template Engine for Client/Server-side Rendering for VanJS. - `sirv` - The optimized and lightweight middleware for serving requests to static assets. - `tailwindcss` - A utility-first CSS framework for rapid UI development. - `vanjs-core` - The VanJS core library for building reactive UIs. - `vanjs-ext` - A collection of utilities to boost productivity and DX for VanJS. - `vanjs-feather` - Feather Icons for VanJS. - `vanjs-lucide` - Lucide Icons for VanJS. - `vite-plugin-vanjs` - A mini meta-framework for VanJS that provides basic/file-system routing, metadata management, JSX support, isomorphic rendering and more. - `vite-vanjs-svg` - A Vite plugin that lets you import SVG files into your app as VanJS components. ### Resources - [daisyUI](https://daisyui.com): The Official Website. - [express](https://expressjs.com/): The Official Website. - [mini-van](https://vanjs.org/minivan): The Official `mini-van` Documentation. - [tailwindcss](https://tailwindcss.com/): The Official Website. - [vanjs-core](https://vanjs.org/tutorial): The Official VanJS Tutorial. - [vanjs-ext](https://vanjs.org/x): The Official `vanjs-ext` Documentation. - [vanjs-feather](https://thednp.github.io/vanjs-feather/): The Demo Page. - [vanjs-lucide](https://thednp.github.io/vanjs-lucide/): The Demo Page. - [vite-plugin-vanjs](https://github.com/thednp/vite-plugin-vanjs/wiki): The `vite-plugin-vanjs` wiki page. - [vite-vanjs-svg](https://github.com/thednp/vite-vanjs-svg): The `vite-vanjs-svg` repository page. - [vite](https://vite.dev): The Official Vite Website.