You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/client/web
Will Norris 0df5507c81 client/web: combine embeds into a single embed.FS
instead of embedding each file individually, embed them all into a
single embed filesystem.  This is basically a noop for the current
frontend, but sets things up a little cleaner for the new frontend.

Also added an embed.FS for the source files needed to build the new
frontend. These files are not actually embedded into the binary (since
it is a blank identifier), but causes `go mod vendor` to copy them into
the vendor directory.

Updates tailscale/corp#13775

Signed-off-by: Will Norris <will@tailscale.com>
1 year ago
..
src client/web: hook up remaining legacy POST requests 1 year ago
api.go client/web: add csrf protection to web client api 1 year ago
auth-redirect.html client/web: extract web client from cli package 1 year ago
dev.go client/web: add barebones vite dev setup 1 year ago
index.html client/web: copy existing UI to basic react components 1 year ago
package.json client/web: add csrf protection to web client api 1 year ago
postcss.config.js client/web: add tailwind styling to react app 1 year ago
tailwind.config.js client/web: add tailwind styling to react app 1 year ago
tsconfig.json client/web: add tsconfig.json 1 year ago
vite.config.ts client/web: add barebones vite dev setup 1 year ago
web.css client/web: extract web client from cli package 1 year ago
web.go client/web: combine embeds into a single embed.FS 1 year ago
web.html client/web: extract web client from cli package 1 year ago
web_test.go client/web: extract web client from cli package 1 year ago
yarn.lock client/web: add csrf protection to web client api 1 year ago