* Add connect existing account modal Co-authored-by: Jess Martin <jessmartin@gmail.com> |
||
|---|---|---|
| .github | ||
| src | ||
| static | ||
| .DS_Store | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc.cjs | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
| fission.yaml | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.cjs | ||
| svelte.config.js | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| tsnode-loader.js | ||
| vite.config.ts | ||
README.md
webnative-app-template
A web app template for Webnative.
Setup
Install dependencies.
npm install
Develop
Work on the application in local development.
npm run dev
Navigate to localhost:3000 in your web browser.
Build
Export a static build.
npm run build
The build outputs the static site to the build directory.
Publish
The built site publishes with the Fission CLI and the Fission GH publish action. Publishing from the command line is configured in fission.yaml, and the GitHub publish action is configured in publish.yml.
To configure your own CLI publishing:
- Install the Fission CLI
- Run
fission setupto make a Fission account - Run
npm run buildto build the app - Delete
fission.yaml - Run
fission app registerto register a new Fission app (accept the./builddirectory suggestion for your build directory) - Run
fission app publishto publish your app to the web
After publishing, your app will be available online at the domain assigned by the register command.
To set up the GitHub publish action:
- Export your machine key with
base64 ~/.config/fission/key/machine_id.ed25519 - Add your machine key as a GH Repository secret named
FISSION_MACHINE_KEY - Update the
publish.ymlwith the name of your registered app
See the Fission Guide and the publish action README for more details.
Customize
app.html- the SEO meta tags will need to be changed.lib/app-name.ts- choose a better application name- To customize the application's Tailwind theme, change
tailwind.config.ts- link to DaisyUI customization page.