- Add extension's stub as usual
- Go to the project dir:
cd <ext-dir>
- Add elm to the project:
yarn add elm --dev
- Init elm project:
yarn run elm init
- Create the directory for elm sources:
mkdir src/forntend
- Open elm.json and edit "source-directories" value to point to new frontend dir
- Take a sample: https://guide.elm-lang.org
- Make command to check Elm w/o Plesk integration:
yarn run elm make src/frontend/Main.elm --output=src/htdocs/js/main.js
-
Notifications
You must be signed in to change notification settings - Fork 0
ktak-007/plesk-elm-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The module to demo using Elm in Plesk extensions
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published