GithubHelp home page GithubHelp logo

lips's Introduction

lips

Lightweight Information Portal Service

Hello lips!

  1. 安装Node.js
  2. 配置node源(可选)
  3. lips 启动!!!
git clone https://github.com/frog-software/lips.git
cd lips
npm install
npm run dev

想要自己试试用vite构建一个svelte工程?试试这些命令

npm create vite@latest
✔ Project name: … helloworld
✔ Select a framework: › Svelte
✔ Select a variant: › JavaScript

cd helloworld
npm install
npm run dev

项目结构

  • node_modules/ 这个是npm install的那堆包的目录,可以忽略
  • public/ 这个是存放一些共有文件的地方
  • src/ 你的源代码目录
    • actions/ 存放action的地方
    • assets/ 有点类似于根目录下的public,不过这里的assets只用于src文件夹下的代码
    • components/ 存放可复用组件的地方,如登录框,消息盒子啥的
    • routes/ 存放网页路由结构的地方
    • stores/ 顾名思义,给store用的文件夹
    • utils/ 存放各种有用的小东西,或者你不知道应该放在哪里的小脚本
      • api/ 将网络请求封装成一个个函数
      • types/ 存放数据结构

常用命令

安装依赖

npm install

代码检验

npm run format-check
npm run format

lips's People

Contributors

03130214 avatar babuzeer avatar charlie0129 avatar clear1ovee avatar kahakaha avatar lin594 avatar range-bin avatar t1ipoca avatar

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.