项目作者: jamespatrickgibson

项目描述 :
A design system boilerplate for Svelte & CSS
高级语言: CSS
项目地址: git://github.com/jamespatrickgibson/union.git
创建时间: 2019-10-22T13:42:15Z
项目社区:https://github.com/jamespatrickgibson/union

开源协议:

下载


Union

Union is a design system boilerplate and component library which is inspired by traditional graphic design theories and practices.

Union should be considered pre-release and currently unstable for production use.

create-svelte

Everything you need to build a Svelte project, powered by create-svelte;

Creating a project

If you’re seeing this, you’ve probably already done this step. Congrats!

  1. # create a new project in the current directory
  2. npm init svelte@next
  3. # create a new project in my-app
  4. npm init svelte@next my-app

Note: the @next is temporary

Developing

Once you’ve created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

  1. npm run dev
  2. # or start the server and open the app in a new browser tab
  3. npm run dev -- --open

Building

Before creating a production version of your app, install an adapter for your target environment. Then:

  1. npm run build

You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.