mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
deploy: 1482e64639
This commit is contained in:
1 parent
37ba57dcba
commit
bc960eed37
95 files changed
+382
-344
No files matched your search
@@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="generator" content="Docusaurus v2.0.0-beta.21">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="Overextended" href="/opensearch.xml"><title data-rh="true">Getting Started | Overextended</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://overextended.github.io/docs/ox_lib/"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Getting Started | Overextended"><meta data-rh="true" name="description" content="ox_lib is a collection of Lua and UI functions to utilise in other resources."><meta data-rh="true" property="og:description" content="ox_lib is a collection of Lua and UI functions to utilise in other resources."><link data-rh="true" rel="icon" href="/img/ox.ico"><link data-rh="true" rel="canonical" href="https://overextended.github.io/docs/ox_lib/"><link data-rh="true" rel="alternate" href="https://overextended.github.io/docs/ox_lib/" hreflang="en"><link data-rh="true" rel="alternate" href="https://overextended.github.io/docs/ox_lib/" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://8XXXVNJ7UW-dsn.algolia.net" crossorigin="anonymous"><link rel="stylesheet" href="/assets/css/styles.a1a96c58.css">
|
||||
<link rel="preload" href="/assets/js/runtime~main.439aaea3.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.9b9b6356.js" as="script">
|
||||
<link rel="preload" href="/assets/js/runtime~main.2daa648e.js" as="script">
|
||||
<link rel="preload" href="/assets/js/main.39a72050.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus">
|
||||
@@ -18,7 +18,7 @@ documentation to see how to utilise them.</p><h1>Building the UI</h1><p>If you w
|
||||
compile it.</p><div class="admonition admonition-danger alert alert--danger"><div class="admonition-heading"><h5><span class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path></svg></span>danger</h5></div><div class="admonition-content"><p><strong>DO NOT</strong> debundle and unminify the release CSS and JS files to edit them.</p></div></div><p><strong>Requirements:</strong></p><ul><li><a href="https://nodejs.org/" target="_blank" rel="noopener noreferrer">Node.js (LTS)</a></li><li>pnpm</li></ul><p><strong>Installing Node.js:</strong></p><ul><li>Download the LTS version of Node.js.</li><li>Go through the install and make sure you install all of the features.</li><li>Run node --version in cmd and make sure that it gives you the version number. If it doesn't then you didn't install it correctly.</li></ul><p><strong>Installing pnpm:</strong></p><ul><li>After installing NodeJS you can install pnpm by running <code>npm install -g pnpm</code>.</li></ul><p><strong>Building the UI:</strong></p><ul><li>cd into the web directory.</li><li>run <code>pnpm i</code> to install the dependencies.</li><li>run <code>pnpm build</code> to build the source files.</li></ul><div class="admonition admonition-info alert alert--info"><div class="admonition-heading"><h5><span class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="16" viewBox="0 0 14 16"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg></span>Hot reloads</h5></div><div class="admonition-content"><p>When working in the browser you can run <code>pnpm start</code>, which supports hot reloads meaning that
|
||||
you will see your changes after saving your file.</p><p>If you want to work in game you can run <code>pnpm start:game</code> which writes changes to disk, so
|
||||
the only thing you have to do is restart the resource for it take affect.</p></div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://github.com/overextended/overextended.github.io/tree/main/docs/ox_lib/index.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_YzTo" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_xdYa"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/docs/oxmysql/Usage/update"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Update</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/docs/ox_lib/ACL/Server"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Server</div></a></nav></div></div></div></div></main></div></div></div>
|
||||
<script src="/assets/js/runtime~main.439aaea3.js"></script>
|
||||
<script src="/assets/js/main.9b9b6356.js"></script>
|
||||
<script src="/assets/js/runtime~main.2daa648e.js"></script>
|
||||
<script src="/assets/js/main.39a72050.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user