danielschmitz / svelte-sapper-bulma-crud

A Svelte+Sapper+Bulma Crud

Home Page:https://svelte-sapper-bulma-crud.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roadmap

danielschmitz opened this issue · comments

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
commented

if I've install bulma on sapper, where should I call the bulma it's self ?

commented

How do I setup Axios in svelte ?

commented

for getting data do you axios method too?

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();
    }
  }