Code Monkey home page Code Monkey logo

blog-svelte-d3's Introduction

Svelte Starter

Trying to get the best of both worlds: fast and easy svelte development with Sapper bake out html deploy.

Features

  • HMR for lightning fast development
  • Includes csv, json, and svg imports by default
  • SCSS ready (optional)
  • LayerCake preloaded for graphic development
  • Tabler-Icons for simple/easy svg icons
  • Pre-render on deploy for a baked-out HTML with content that is hydrated on load
  • Configured to make easy deploment to Github Pages

Quickstart

npx degit russellgoldenberg/svelte-starter my-project
cd my-project

npm install
npm run dev

Development

Modify content in src and public/assets.

Deploy

npm run deploy

If deploying to github pages:

make github

Style

CSS or SCSS both work fine. Either do within style tag or externally like:

<style src="../css/app.scss"></style> -->

Notes

Any html tags, e.g., {@html user} must be inside of a dom element so they can be properly hydrated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.