Roadmap
danielschmitz opened this issue · comments
Daniel Schmitz commented
Application
- Enable HMR in Webpack
Category
- Read All Categories
- Create Category
- Update Category
- Delete Category
Product
- Read All
- Create
- Update
- Delete
- Component: Selection with categories
- Component: Selection with suppliers
Suplier
- Read All
- Create
- Update
- Delete
Employee
- Read All
- Create
- Update
- Delete
Dzun commented
if I've install bulma on sapper, where should I call the bulma it's self ?
Dzun commented
How do I setup Axios in svelte ?
Daniel Schmitz commented
How do I setup Axios in svelte ?
here: https://github.com/danielschmitz/svelte-sapper-bulma-crud/blob/master/src/http.js
Dzun commented
for getting data do you axios method too?
Daniel Schmitz commented
for getting data do you axios method too?
yeap.
example:
import http from "../http";
async function onDeleteClick(item) {
product = item;
if (confirm(`Delete "${product.name}"?`)) {
await http.delete(`/products/${product.id}`);
products = getProducts();
}
}