Name: template-webpack
Owner: Svelte
Description: Template for building basic Svelte applications with webpack
Created: 2017-12-11 00:04:46.0
Updated: 2018-05-14 00:22:52.0
Pushed: 2018-05-14 00:22:51.0
Homepage: null
Size: 89
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template-webpack.
To create a new project based on this template using degit:
install -g degit # you only need to do this once
t sveltejs/template-webpack svelte-app
velte-app
Note that you will need to have Node.js installed.
Install the dependencies…
velte-app
install
…then start webpack:
run dev
Navigate to localhost:8080. You should see your app running. Edit a component file in src
, save it, and the page should reload with your changes.
Install now
if you haven't already:
install -g now
Then, from within your project folder:
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:
install -g surge
Then, from within your project folder:
run build
e public