tact-by-example
tact-by-example copied to clipboard
https://tact-by-example.org - Learn Tact by diving head first into working code and seeing many different contracts
- 🔍 Changelog
- 🫂 Telegram Group Chat
Developing
About Tact Source Code
- 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.
About the Examples Order
- Check the order in the
src/routes/(examples)/examples.jsonfile. - The
iddetermines the sequence of the examples in the app.
Running the project
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
Releasing
- 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.