Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,283 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuvi

Meta Framework to create applications quickly.

Features

  • Automatic transpilation and bundling (with webpack and babel)
  • On demand transpilation / Hot code reloading
  • Code splitting for every pages
  • Server-Side Rendering

Contributing

See CONTRIBUTING.md for more information on what we're looking for and how to get started.

Credits

Some implementation of shuvi.js are inspired by existing projects, such as next.js and umi.js. Thanks for them.

SWC Plugin Development

Install Rust

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ brew install taplo

Prerequisites

$ rustup install 1.87.0
$ rustup override set 1.87.0
$ rustup target add wasm32-unknown-unknown
$ rustup target add wasm32-wasip1
$ cargo check
$ cargo build --target wasm32-unknown-unknown --release

If success, you can use the output wasm file in the target/wasm32-unknown-unknown/release/swc_plugin_remove_console.wasm.

Check version

$ node -v
v18.20.4

$ pnpm -v
8.9.2

$ rustc --version
rustc 1.87.0 (17067e9ac 2025-05-09)
# Build
$ pnpm build
# Test packages/compiler
$ pnpm test:compiler
# test rspack integration build
$ npx turbo run build --filter rspack-playground
# Test rust-packages
$ pnpm test:rust-packages

Format

$ pnpm format:toml
$ pnpm format:rust

one line

$ pnpm i && pnpm format:toml && pnpm format:rust && pnpm build && pnpm test:compiler && pnpm test:rust-packages

Release

$ pnpm release 2.0.0-dev.24 --skipTests --tag alpha

Release.md

About

Nextjs, but for SPA, no server required

Topics

Resources

Contributing

Stars

37 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages