Git Product home page Git Product logo

avalon's Introduction

run

  1. git clone
  2. yarn
  3. copy & rename .env.example.js => .env.js
  4. npm run dev
  5. open localhost:3000

dir

├── build(webpack 打包文件) ├── src (所有的资源都在 src 目录下) │   ├── api (api文件夹) │   ├── assets(图片,global-css,不在 npm 上发布的 vendor-js) │   ├── components(组件) │   │   ├── base(全局组件) │   │   ├── layouts(布局组件) │   │   ├── ... │   ├── entry(入口) │   │   ├── entry-client.js(浏览器端的 entry.js,一般需要挂载在 window 上的就在这里面写) │   │   └── entry-server.js(服务器端的 entry.js,一般不需要修改) │   ├── layouts(页面模板组件) │   │   ├── default.vue │   │   ├── empty.vue │   │   └── error.vue │   ├── router(vue-router & vue-meta) │   ├── store(vuex) │   ├── templates(html渲染模板) │   │   ├── 200.template.html(200时的模板) │   │   └── 'error'.template.html(废弃,已在 server.js 重定向) │   ├── utils (需要绑定在 vue.prototype 上的方法) │   │   ├── client.js (只需要在浏览器端调用的方法) │   │   └── index.js (浏览器端和服务端都会调用的方法) │   └── views(页面组件文件夹,对应页面见 router/index.js) │   ├── about │   ├── bangumi │   ├── post │   ├── role │   ├── user │   ├── video │   └── index.vue(首页) │   ├── app.js (init & export vue instance,不需要改动) │   ├── app.vue(vue instance entry,动态全局初始化, etc...) ├── static(静态资源文件)

avalon's People

Contributors

falstack avatar

Watchers

James Cloos 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.