You can create a fresh
elm-pages project with the
npx elm-pages init my-project
This will create a new project in
my-project/. You can then start a dev server and add new routes using these CLI commands.
elm-pages dev- Start the
elm-pages add Slide.Number_Generate scaffolding for a new Page Module
elm-pages build- generate a full production build in the
dist/folder. You'll often want to use a CDN service like Netlify or Vercel to deploy these generated static files
elm-pages dev gives you a dev server with hot module replacement built in. It even reloads your
DataSources any time you change them.