The new template viewer and editor.
After cloning the repository
git clone https://github.com/DFOnline/template
Install the dependencies
npm i
Boot up a development server
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Everything inside src/lib
is the library, src/routes
is the preview app used for testing.
To build the library:
npm run package
To create a production version of the preview app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.