0291dcacd3
Otherwise it throws an error because, while rendering the TK tags, you're not allowed to have one TK come more than once. That aside, we don't want *each* occurrence having its own table column, do we? |
||
---|---|---|
public | ||
scripts | ||
src | ||
.gitignore | ||
package.json | ||
README.md | ||
rollup.config.js | ||
server.js | ||
yarn.lock |
Looking for a shareable component template? Go here --> sveltejs/component-template
chipchoc
Create and send cookie-cutter emails
Get started
Install the dependencies...
cd chipchoc
yarn
...then start Rollup:
nyarn dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv
commands in package.json to include the option --host 0.0.0.0
.
Building and running in production mode
To create an optimised version of the app:
yarn build
You can run the newly built app with yarn start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.
Credits
- Favicon created by Freepik from Flaticon.com
- Cookie pile icon created by ultimatearm from Flaticon.com
- Microwave icon created by Freepik from Flaticon.com
- The main ChipChoc icon is a combination of the aforementioned microwave and cookie-pile icons
This is made from a project template for Svelte apps. You can find the original template at https://github.com/sveltejs/template.