Content-Length: 272948 | pFad | http://github.com/hmsk/vite-plugin-elm/blob/main/example

678C53EF vite-plugin-elm/example at main · hmsk/vite-plugin-elm · GitHub
Skip to content

Latest commit

 

History

History

example

vite-plugin-elm example project

Also used for integration tests.

Setup

Get a latest build of vite-plugin-elm

cd ../
npm i
npm run build
cd example/

or you can pick specific version from published versions.

Edit package.json, then run npm i

+  "vite-plugin-elm": "2.6.1",
-  "vite-plugin-elm": "file:../"

Install dependencies

npm i

Run dev server

npm run dev
  • /: A sample page of Browser.document
  • /application.html: A sample page of Browser.application with assets helpers
  • /elements.html: A sample page of Browser.element by a combined multiple build

Production build

npm run build

/dist gets whole production build's output.

Try the build in local

npm run serve # then visit localhost:3938








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/hmsk/vite-plugin-elm/blob/main/example

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy