Skip to content

niclin/bernard

Repository files navigation

README

Initial

rake db:create db:migrate
yarn install

Start Server

rails server

Start Webpack Compile Server

./bin/webpack-dev-server

Some Know How

主要和普遍都會用到的邏輯放置

  • Used: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>

  • FilePath:app/javascript/packs/application.js

特殊頁面邏輯放置,如下

  • Used: <%= javascript_pack_tag 'dashboard', 'data-turbolinks-track': 'reload' %>

  • FilePath:app/javascript/packs/dashboard.js

Theme style put in

  • File: .css

  • FilePath: bernard/app/assets/stylesheets/theme_libs/*

Theme relative min js put in

  • File: min.js

  • FilePath: bernard/public/javascripts/*

Node Module Version

  • "bootstrap": "^5.0.1",
  • "@popperjs/core": "2.9.2"
  • "webpack-dev-server": "^3.11.2"

About

這是你最後一次忘記打卡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •