Datatable for Svelte with Materialize
npm install svelte-datatableThis project was created by the Svelte REPL.
Data Table component was converted to Svelte from MicroDroid/vue-materialize-datatable project.
Paginate component was converted to Svelte from https://github.com/lokyoung/vuejs-paginate project.
materialize-css (and NOT any other MD library!)You will need to have Node.js installed.
Install the dependencies...
``bash`
cd /path/to/this/directory
npm install
...then start Rollup:
`bash`
npm run 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.
Install now if you haven't already:
`bash`
npm install -g now
Then, from within your project folder:
`bash`
now
As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.
Install surge if you haven't already:
`bash`
npm install -g surge
Then, from within your project folder:
`bash``
npm run build
surge public