LoginSignup
0
2

More than 5 years have passed since last update.

ファイル作成時のテンプレート

Last updated at Posted at 2018-03-17

いちいち調べるのが面倒くさいのでテンプレートをまとめるページ.

python

main.py
# -*- coding: utf-8 -*-

# use arguments #
import sys
cmd, *args = sys.argv

# use standard input #
stdin = input()

def main():
    # processing

if __name__ == '__main__':
    main()

html(+Vue.js)

main.html
<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="utf-8">
  <Title>Title</Title>
  <link href="css/main.css" rel="stylesheet">
</head>
<body>
  <div id="app">

  </div>
  <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
  <script src="js/main.js"></script>
</body>
</html>
main.js
var app = new Vue({
  el: '#app'
})
0
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2