Search This Blog

Create a Svelte Typescript app from rollup template

  1. Initialize Svelte Web App:
    npx degit sveltejs/template svelte-ts-app
    cd svelte-ts-app
    node scripts/setupTypeScript.js
    npm install
    
  2. [Optional] Install rollup-plugin-dev to enable http proxy
  3. [Optional] Setup Svelte Material UI components
  4. Starts rollup dev mode:
    npm run dev
  5. Building and running in production mode:
    npm run dev
    npm run start
      

see also

No comments:

Post a Comment