Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_AMPLITUDE_API_KEY=YOUR_AMPLITUDE_API_KEY
137 changes: 137 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import Layout from './Layout.vue'
import Layout from "./Layout.vue";
import * as amplitude from "@amplitude/analytics-browser";

export default {
Layout,
}
async enhanceApp() {
if (typeof window !== 'undefined') {
const amplitudeApiKey = (import.meta as any).env.VITE_AMPLITUDE_API_KEY;
amplitude.init(amplitudeApiKey, { autocapture: true });
}
}
};
6 changes: 0 additions & 6 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

Some of the test code in this software comes from the lodash library (https://github.com/lodash/lodash).

The copyright for this imported test code from lodash is owned by the JS Foundation and other contributors <https://js.foundation/>.
Loading