1.0.0 • Published 6 months ago

sample_lustre v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Lustre + Gleam + Typescript

Repository

Template Tour

├── .gitignore      // list of files/folders hidden by git
├── assets          // location of static/nonjs files to be (images, css). can be imported/compiled
│   └── main.css
├── public          // location of static files served on the root of the site (ex: `example.com/image.svg`)
│   └── gleam.svg
│   └── vite.svg
├── gleam.toml      // no need to edit
├── index.html      // modify as you wish, keep script tag
├── package.json    // reference node packages and used to run commands
├── README.md
├── src             // location of your actual program, do stuff here
│   ├── main.ts     // entry point referenced by index.html
│   └── app.gleam
├── tsconfig.json   // settings for typescript
└── vite.config.js  // settings for vite

Quick start

Install depenencies

npm install
# or `yarn install` / `pnpm install`

Run development server and make changes in /src

npm run dev

Build for production

npm run build
npm run preview     # preview output

Ship and serve /dist

1.0.0

6 months ago