https://github.com/rajasegar/snowpack-cycle
A preconfigured template for Cycle.js with Snowpack
https://github.com/rajasegar/snowpack-cycle
Last synced: 9 months ago
JSON representation
A preconfigured template for Cycle.js with Snowpack
- Host: GitHub
- URL: https://github.com/rajasegar/snowpack-cycle
- Owner: rajasegar
- License: mit
- Created: 2020-12-05T05:43:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-05T06:32:55.000Z (about 5 years ago)
- Last Synced: 2025-01-18T04:18:34.925Z (11 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cyclejs - snowpack-cycle - Snowpack app template to create Cycle.js projects with create-snowpack-app (Libraries / Boilerplates)
README
# New Cycle.js Project
> ? Bootstrapped with Create Snowpack App (CSA).
This is a [Snowpack](https://snowpack.dev) application template for [Cycle.js](https://cycle.js.org).
## Usage
This is how you can use this template with Snowpack to create Cycle.js apps:
```
npx create-snowpack-app my-cycle-app --template snowpack-cycle
```
## Available Scripts
### npm start
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
### npm run build
Builds a static copy of your site to the `build/` folder.
Your app is ready to be deployed!
**For the best production performance:** Add a build bundler plugin like [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/master/plugins/plugin-webpack) or [snowpack-plugin-rollup-bundle](https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle) to your `snowpack.config.json` config file.
### Q: What about Eject?
No eject needed! Snowpack guarantees zero lock-in, and CSA strives for the same.