This project is a sample setup to build an app with Elm, Capacitor, Parcel and Tailwindcss
Please follow the Capacitor documentation to setup your environment.
Clone this repository and install dependencies
git clone [email protected]:anthonny/elm-parcel-capacitor.git
cd elm-parcel-capacitor
npm install
For development purpose, I like to work with live-reload.
The first step is to copy the env file
cp .env.example .env
And complete the .env
file with your local ip.
Then you need to start your application
npm start
Open your native IDE
npx cap open ios
npx cap open android
Finally, click the Run button to launch the app and start using Live Reload.
To bundle your application, run
npm run build
You can test the result with your emulator
npx cap run ios
npx cap run android
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.