If you only need implement the first function, you only need native JavaScript code to realize the function you want. Of course, if you want to refer to the current project's code, its main code is in the directory src/common/utils
.
But if you want to add some new functionality th the page that requires adding a lot of DOM(e.g. a little button in the corner that when you click on it opens up a new interface at the top level), it's a better choice to use a JavaScript framework to create the content.
The above is reason why I created this code repository.
The original version was redux, but I've currently migrated to zustand, check out the details of why.
@preact/signals
)@lit/context
)Deprecated, for more information please see Legacy Build Support.
Only tested under Node 22.*.0, older versions may not be compatible.
git clone https://github.com/vivelarepublique/TamperBuilder
cd TamperBuilder
npm install
for development:
npm run dev
for build:
npm run build
After you have read and completed the steps above, if you want to build your own desired code content, modify the code in the following order.
package.json
file content, include name, description, version, author, etc.package.json
file.src
directory that you don't need to use. (For example, if you only use vue
, then delete the react
, preact
, lit
, svelte
, and solid
directories).src/index.ts
that you don't need to use.config/global-configuration.yaml
.config/banner.yaml
to determine the banner of the final packaged file.vite.config.ts
as needed while remove unnecessary imports.Compiling Angular projects can only be done with Angular's own compiler, not with Vite or Webpack, so combining Angular code with code from other projects can be a pain.
Astro is using a self-contained build tool based on Vite, so combining Astro with code from other projects isn't simple.
MIT
Give a ⭐️ if you like this project!