-
Notifications
You must be signed in to change notification settings - Fork 0
Quick start
designervoid edited this page Nov 27, 2024
·
6 revisions
Don't Trust, Verify
- Init cli
npx @designervoid/ton-design-system@5.0.2 cli --github
npx @designervoid/ton-design-system@5.0.2 cli --github
Repository cloned successfully.
What do you want to copy?
> project
component
- Choose pattern
Select the project to copy:
README.md
patterns-raw-library-rust-wasm
patterns-raw-library-wat
patterns-react
> patterns-vanjs
raw-framework
raw-library
- Enter new project name (instead of
patterns-vanjs
)
Enter your project name: copied-patterns-vanjs
- Wait for install
Project copied successfully.
Detected pnpm!
Lockfile is up to date, resolution step is skipped
Packages: +262
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 262, reused 262, downloaded 0, added 262, done
dependencies:
+ vanjs-core 1.5.2
devDependencies:
+ @biomejs/biome 1.9.4
+ @rsbuild/core 1.1.3
+ @types/jsdom 21.1.7
+ autoprefixer 10.4.20
+ cssnano 7.0.6
+ jsdom 25.0.1
+ postcss 8.4.49
+ tailwindcss 3.4.15
+ typescript 5.6.3
+ vitest 2.1.5
Done in 2.2s
Cleaning up...
Cleanup complete.
- Enter
copied-patterns-vanjs
cd copied-patterns-vanjs
- Install
@designervoid/ton-design-system
pnpm add @designervoid/ton-design-system@5.0.2
- Edit
tailwind.config.js
const { tdsTheme } = require("../../package/index");
Change to
const { tdsTheme } = require("@designervoid/ton-design-system");
npx @designervoid/ton-design-system@5.0.2 cli --github
npx @designervoid/ton-design-system@5.0.2 cli --tailwind
npx @designervoid/ton-design-system@5.0.2 cli --tondesignsystem