- Tact code is under the
srcdirectory. Thesrcdirectory contains the following files:src/routes/(examples)- The source code for the examples. - The terminal output is located in
src/routes/(examples)/+layout.sveltefile. - Run
npm run tact-buildto compile the Tact code you just added.
- Check the order in the
src/routes/(examples)/examples.jsonfile. - The
iddetermines the sequence of the examples in the app.
Once you've run npm install start a development server:
npm run dev
# Use the Network option to view it on your phone
# or start the server and open the app in a new browser tab
npm run dev -- --open- Test the app in dev mode.
- Make sure to update the version in
package.json. - Run
npm run buildwhich will build to thedocsdirectory. - Run
npm run previewto test the app in production mode.